Professional Documents
Culture Documents
VSDK 3.0
General Usage
Technical Aspects
CATT Components
CATT procedures General Usage The Computer Aided Test Tool (CATT) allows you to combine and automate business processes as repeatable test procedures. Checks
Process transactions and transaction chains automatically.
Check transaction results. Check system messages. Check database updates by performing determining values and making target/actual comparisons. Check reactions to changes in Customizing settings.
Create
Test data Training data
General Usage
Technical Aspects
CATT Components
CATT procedures - Technical Aspects CATTs are cross-client can be created and run in any client CATT uses the Batch Input interface to run transactions CATT provides flexible data management by the use of
General Usage
Technical Aspects
CATT Components
CATT components
CATT procedure
Attributes
Log
Execution
CATT procedure
Functions
Attributes
Parameters Variables
Log
Execution
SETVAR - Set variable TCD - Start transaction TXT - Comment REF - Reference module IF ... ENDIF DO ... ENDDO ...
CATT procedure
Functions
Attributes Parameters Variables
Log
Execution
CATT procedure
Functions
import interface
Attributes
Parameters Variables
Log
Execution
CATT procedure
Attributes
log type
Log
Execution
import parameters
CATT procedure
Attributes
Log
Execution
General Usage
Technical Aspects
CATT Components
Creating a CATT
1 2
Start recording (--> transaction code) Navigate through the process as it is to be tested later Stop recording
3
4
Screen Sequence
Field list
Definition of variables
Variants
If you have used import parameters for a test procedure, you can create variants for it, in which you assign values to the various import parameters.
Va ria nt4 4
Parameter1 = 1997 Parameter1 = 1997 Parameter2 = -1 Parameter2 = -1 Parameter3 = 002 Parameter3 = 002 Parameter4 = 1000 Parameter4 = 1000 Parameter6 = Year Parameter6 = Year Parameter7 = 4712 Parameter7 = 4712 Parameter8 = 88,19 Parameter8 = 88,19 .. .. .. .. Parameter30= '' '' Parameter30=
Variant 6 Variant 6 Parameter1 = 1997 Parameter1 = 1997 Parameter2 = -1 Parameter2 = -1 Parameter3 = 002 Parameter3 = 002 Parameter4 = 1000 Parameter4 = 1000 Parameter6 = Year Parameter6 = Year Parameter7 = 4712 Parameter7 = 4712 Parameter8 = 88,19 Parameter8 = 88,19 .. .. .. .. Parameter30= '' '' Parameter30=
Test procedure
Variant 1 1
Variant 98 Variant 98
Parameter1 = 1995 Parameter1 = 1995 Parameter2 = -1 Parameter2 = -1 Parameter3 = 002 Parameter3 = 002 Parameter4 = 1000 Parameter4 = 1000 Parameter5 = Co. cde Parameter5 = Co. cde Parameter6 = Year Parameter6 = Year Parameter7 = 4712 Parameter7 = 4712 Parameter8 = 88,88 Parameter8 = 88,88 .. .. .. .. Variant 99 Variant 99 Parameter30= cst.ctr Parameter30= cst.ctr Parameter1 = 1994 Parameter1 = 1994 Parameter2 = +1 Parameter2 = +1 Parameter3 = 007 Parameter3 = 007 Parameter4 = 1000 Parameter4 = 1000 Parameter5 = Co. cde Parameter5 = Co. cde Parameter6 = Year Parameter6 = Year Parameter7 = 4711 R Parameter7 = 4711 Parameter8 = 19,99 Parameter8 = 19,99 .. .. .. .. Parameter30= cst.ctr Parameter30= cst .ctr
Create variants
ORT01_GP PSTLZ SPRAS STCEG City Postal code Language Sales tax ID Berlin 10855 D DE123456789 made to the above default values have no effect London 54321 E GB123456789 New York 44444 E US123456789 W alldorf 69180 ! Heidelberg 69120
SAP AG
Export variants
Transport
Selection of different CATTs into one transport request
Collective execution
Execution of several procedures in a background job
Troubleshooting
Rerun from log
Change Management
Re-record CATT (e.g. after upgrading)
Waiting times
between screens or modules
CATT-relevant changes
New screen sequence control New screen sequence control Deletion of screen fields Deletion of screen fields Required field <-> optional field Required field <-> optional field Message changes Message changes Deletion of functions Deletion of functions Renaming of function or transaction codes Rena Renaming of function or transaction codes Standard customizing changes Standard customizing changes
SAP AG
General Usage
Technical Aspects
CATT Components
CATT Usage in Best Practices: Master Data Creation of Master Data via Questionnaire
Connectivity Guide
to CATT procedure
SAP AG 2005, Title of Presentation / Speaker Name / #
Execution Types
CATT without variants or internal variants
runs immediately in the background
General Usage
Technical Aspects
CATT Components
Test catalog
Test procedure 1
Test plan
User assignment
User 1
Test package 1
Test package 2
User 2
Test package 3
User 3
Test procedure 2
...
SAP AG 2005, Title of Presentation / Speaker Name / #
Test Organization
Test organization
Set of test cases
object oriented
Test catalog
Test plan
Test package
Testfall Test case 3 3 Test Testfall cfsel Test case 2 1 Testfall 21 Testfall 4 4 Test casel
SAP AG
General Usage
Technical Aspects
CATT Components
Only create test modules for transactions which you know well. Always use parameters to pass values to transactions.
Choose the parameters and screen sequence so as to make the test case as generally usable as possible.
Always modify test cases so that they remain compatible. Document all test cases. Use variants for similar test cases. Handle with care ! CATTs do database changes; never run a CATT in a productive environment without having it tested before Non-CATTable transactions
General Usage
Technical Aspects
CATT Components