Você está na página 1de 14

SAP TechEd ‘03 Las Vegas

eCATT – Linking the


Past, Present, and
Future of Functional
Testing
Jonathan Maidstone
Product Manager, Test Tools – SAP AG

Learning Objectives

As a result of this lecture, you will


be able to:
„ Identify the advantages of using SAP’s own test tools
„ List the main features of SAP eCATT in Release 6.20
„ Evaluate the additional benefits of using eCATT in Release
6.40
„ Protect your existing investment in CATT by migrating
resources to eCATT

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 2

© 2003 SAP Labs, LLC Session ID, Speaker 1


SAP TechEd ‘03 Las Vegas

Agenda

Functional Testing Today

Protecting your CATT Investment

Functional Testing Tomorrow

Summary

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 3

Testing Today: eCATT in Web AS 6.20

eCATT – the extended Computer Aided Test Tool – is a tool for


automated functional testing in the SAP environment
It is embedded in the SAP Web Application Server, and delivered
at no additional cost
It interacts with other test and analytical tools within the SAP Web
AS

Coverage Test Organzier


Administration tool
Analyzer for automated
eCATT and manual
testing
Automated Functional Testing
CATT
(predecessor
of eCATT)
Performance
Analysis

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 4

© 2003 SAP Labs, LLC Session ID, Speaker 2


SAP TechEd ‘03 Las Vegas

eCATT Test Coverage - Applications

SAP GUI
? for HTML/
external
apps.
SAP GUI
for Windows
Web AS 6.20

or Java
Function
eCATT Library

Function modules
and
BAPIs
Data Cust.
Table operations Table Table

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 5

eCATT Test Coverage - Systems

Existing System Landscape

R/3
4.6C CRM
3.0 BW
2.2 APO
3.1

Web AS 6.20

Remote
eCATT testing

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 6

© 2003 SAP Labs, LLC Session ID, Speaker 3


SAP TechEd ‘03 Las Vegas

Testing a Business Process

Test case must be able


to cross system boundaries
easily and must be portable
to other system landscapes

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 7

System Data Container – Your Test Landscape

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 8

© 2003 SAP Labs, LLC Session ID, Speaker 4


SAP TechEd ‘03 Las Vegas

Building a Test Case

Record – Use eCATT to make a recording of a particular


transaction

Refine – Use the eCATT script language to refine the script and
define the ideal outcome of the test

Reuse – Add importing and exporting parameters to the script


so that it can be re-used with multiple sets of data
and in combination with other scripts

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 9

Test Script Editor

Parameters

Interfaces
for
Commands commands

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 10

© 2003 SAP Labs, LLC Session ID, Speaker 5


SAP TechEd ‘03 Las Vegas

Demo

Demo

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 11

Reusing Test Data: Test Data Containers

Variants
Test data container

Test data container

Importing Parameters

Command <interface>, <target>.


Command <interface>, <target>. System mapping
Command <interface>, <target>.
Command <interface>, <target>.

Script System data container

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 12

© 2003 SAP Labs, LLC Session ID, Speaker 6


SAP TechEd ‘03 Las Vegas

Demo

Demo

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 13

Protecting Your CATT Investment - Migration

CATT Procedure CATT Procedure

Migration Tool

Remote System

eCATT Script

Central eCATT System


 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 14

© 2003 SAP Labs, LLC Session ID, Speaker 7


SAP TechEd ‘03 Las Vegas

Protecting Your CATT Investment – Calling CATT

Remote System

REMOTECATT() CATT Procedure

REFCATT()

Application Under Test

System Under Test


CATT Procedure

Central eCATT System


 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 15

Looking Forward to Web AS Release 6.40

External variants

Improved handling for SAPGUI command

Script Debugger

ABAP Objects framework, providing support for


„ XI Services with ABAP proxies
„ Web services with ABAP proxies

Web Dynpro testing

BC Set integration

Usability improvements

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 16

© 2003 SAP Labs, LLC Session ID, Speaker 8


SAP TechEd ‘03 Las Vegas

External Variant Support

Test Configuration Test Data Container

Edit -> Variants -> Download Edit -> Variants -> Download
Edit -> Variants -> Upload Edit -> Variants -> Upload

variants.txt variants.txt

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 17

Improved Handling for SAPGUI Command

Point-and-click retrieval and checks for field values

More support for controls such as SAP List Viewer (ALV)


„ Point-and-click access to cell contents

Ability to attach to a screen instead of having to open a new


session
„ Facilitates script maintenance and re-recording of applications

Easy mode for certain command interfaces


„ Reducing the complexity of parameterizing scripts

Merge and split SAPGUI commands in the script editor


„ For improved maintenance/readability in your script

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 18

© 2003 SAP Labs, LLC Session ID, Speaker 9


SAP TechEd ‘03 Las Vegas

Script Debugger – Based on the Log Structure

New breakpoint
Step into/over, Return, Continue

Executed commands

Current command

Parameter
List

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 19

ABAP Objects Framework

New eCATT script commands that allow you to


„ Create instances of a class
„ Call static or instance methods
„ Set and get static or instance attributes

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 20

© 2003 SAP Labs, LLC Session ID, Speaker 10


SAP TechEd ‘03 Las Vegas

New Features Covered in Other Sessions

Web Dynpro Testing


„ A new eCATT driver for testing applications with a Web
Dynpro frontend
„ Come to session TEST102 to find out more…

BC Set Integration
„ Helping you to build up or check your testing environment
„ Come to session TEST201 (lecture) or TEST351 (hands-on) to
find out more…

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 21

eCATT Test Coverage in Release 6.40

Client ?
GUI
Web Dynpro via SAP GUI for Windows SAP GUI for HTML /
Presentation Server and Java external apps.
Web AS 6.40

Services (XI/WS via Proxy)


Server BC Sets
Business Logic eCATT
ABAP Objects

Function Library & BAPIs

Database Data Cust.


Table operations Table Table

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 22

© 2003 SAP Labs, LLC Session ID, Speaker 11


SAP TechEd ‘03 Las Vegas

Summary

eCATT is the centerpiece of SAP's testing


offerings

Easy cross-system testing facilitates end-


to-end business processes testing

Migration from CATT to eCATT protects


your existing investment

Improvements and new features in


Release 6.40 demonstrate SAP's
commitment to eCATT

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 23

Further Information

Î Public Web:
http://service.sap.com/ecatt
Î Consulting Contact
Markus Helfen (markus.helfen@sap.com) Test Management Consulting
http://www.sap-retail.de/services/tmc/index_en.asp

Î Related SAP Education Training Opportunities


http://www.sap.com/education/
PDECAT - Introduction to eCATT
Î Related Workshops/Lectures at SAP TechEd 2003
Test151: Testing Business Processes Using eCATT (hands-on)
Wednesday 2pm – 6pm, Room H9
TEST201: Integrated Testing With eCATT and BC Sets (lecture)
Thursday 3pm – 4pm, Room L1

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 24

© 2003 SAP Labs, LLC Session ID, Speaker 12


SAP TechEd ‘03 Las Vegas

Questions?

Q&A

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 25

Feedback

Please complete your session evaluation and


drop it in the box on your way out.

Thank You !

The SAP TechEd ’03 Basel Team

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 26

© 2003 SAP Labs, LLC Session ID, Speaker 13


SAP TechEd ‘03 Las Vegas

Copyright 2003 SAP AG. All Rights Reserved

„ No part of this publication may be reproduced or transmitted in any form or for any purpose without the express
permission of SAP AG. The information contained herein may be changed without prior notice.
„ Some software products marketed by SAP AG and its distributors contain proprietary software components of other
software vendors.
„ Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of
Microsoft Corporation.
„ IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,
OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®, Informix
and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.
„ ORACLE® is a registered trademark of ORACLE Corporation.
„ UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
„ Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and
other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
„ HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
„ JAVA® is a registered trademark of Sun Microsystems, Inc.
„ JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented
and implemented by Netscape.
„ MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
„ SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in
several other countries all over the world. All other product and service names mentioned are the trademarks of
their respective companies.

 SAP AG 2003, TechED Basel 2003,TEST101_EMEA, Jonathan Maidstone, 27

SAP TechEd `03 EMEA


Online

WATCH THE
REPLAYS,
DOWNLOAD THE
SLIDES, AND READ
THE TRANSCRIPTS.

www.sap.com/community

 SAP AG 2002, TechED_02 Bremen, Slot #, Speaker Name / 28

© 2003 SAP Labs, LLC Session ID, Speaker 14

Você também pode gostar