Escolar Documentos
Profissional Documentos
Cultura Documentos
Automated Functional
Testing Using eCATT in
SAP Solution Manager
Contributing Speakers
Jon Maidstone
Product Manager, NetWeaver Test Tools, SAP AG
Martin Plummer
Product Specialist, NetWeaver Test Tools, SAP AG
Project
Scope of
Assign implementation/ System
eCATT upgrade Landscape
tests
Extract
tests to Test
eCATT form Organizer
project
SAP
Solution
Manager
4.0
Solution B DEV QAS PRD
(inc. eCATT
Test
Organizer)
Administrative Business
information about Scenarios to be
the project implemented
Configuration
Test cases are
assigned to a Transactions,
configuration Test cases,
training …
Field Checks
Database Checks
Record
Message Checks
Parameters an Parameters
Application
Input: Input:
Sold-to party Quotation
Product number
Quantity
Output: Output:
Quotation number Order number
Action Action
Create quotation Convert existing
in CRM quotation into
order in CRM
(Later on, you will also record the transaction that converts a
quotation into an actual order)
Some of the details will be left out – we will discuss them later on
At the end of this section, you will have a running script that
Accepts input data (sold-to party, material, quantity)
Creates a quotation
Outputs the quotation number for further use later on
Title, package,
person responsible,
application component
Description of the
system landscape
in which to work
Optional keywords
To start a recording, switch to the Editor tab and choose the Pattern
function:
eCATT and the application under test use the command interface to
communicate
Replace this
value with a
variable
eCATT opens correct
part of command interface
Double-click
E_ORDER_NUMBER
Enter parameter
name
Double-click
MESSAGE ( MSG_1 ).
SAPGUI ( SAPGUI_1).
SAPGUI ( SAPGUI_2). Command Block
ENDMESSAGE ( E_MSG_1 ).
The script will only succeed if this message occurs during replay
Product Code
Sold-to Party
Parameters
Importing
Quantity
Commands
Script
Run transaction CRMD_ORDER in CRM System
Create quotation with given import data
Return quotation number for further processing
Quotation No.
Parameters
Exporting
© SAP AG 2006, SAP TechEd ’06 / ULM150 / 38
The Next Stage
Sold-to Party
Create Create
Product Code Quotation No. Quotation No. Order No.
Quotation Order
Quantity
The REF command allows you to call one script from another
It does not matter that parameters in the source and target scripts
have the same name
If these already exist in the called script, you can copy their
definitions by choosing Edit → Parameter/Command Interfaces →
Import:
Select
Transfer
Test Configuration
Log Archive
Without doing anything to you test configuration, you can run the
test with
The default values of the importing parameters
No data at all
However, you can also add any amount of data to the configuration
by
Entering it manually in the grid in the configuration editor
Uploading the contents of a tab-delimited text file
Armed with your eCATT test configurations, you can go back to the
Solution Manager project and assign them to the configuration:
Test Package
Process
Subset of
Worklist tests
Test Package
Error Each test package is Subset of
Report
Messages assigned to a user tests
Enter a
title
2. Generate the
test plan
1. Select the
required
test cases
Each test package contains one or more test cases from within the
test plan
Click here
Public Web:
SAP Developer Network: www.sdn.sap.com Forums SAPGUI
Thank You !