SAP Security Online!
 
Web SAPSecurityOnline.com
 
   
 
 
 

 
  eCATT Tutorial

eCATT Tutorial submitted by Sumeet Kaul.

eCATT: Creation of Test Data Container
Creating Test Cases using eCATT  
 

Creation of Test Data Container .

In my last weblog we were discussing creation of Test Case for Sales Order Scenario .
The first step for Creation of Test Case i.e. creation of Test script was covered in the previous weblog . In this weblog we will continue the flow and cover Creation of  “ Test Data Container” and “System data Container “ for the Test Scenario .

Transaction ‘SECATT’. : Creating Test Data Container

image

image
image

Now Create Variants for the Test Case .

image

The Script will be Tested with these 3 variants . These Variants define the different set of values with which the Scenario will be tested . In the above case the Sales Order Creation will be tested for different set of Sales Area Data ( different distribution channels in namely: 10 12 & 16 )

After creation of Test Data Container , In the test script the parameters are assigned to the Input values/Output Values .

Parameterizing Input Fields :
You must set the field mode to ‘S’, and enter a literal or the name of a parameter in the VALIN column. At runtime, the screen field will be filled with the value that you specified.

image
Parameterizing Output Fields :
You must set the field mode to ‘G’, and enter the name of a parameter in the VALIN column. At runtime, the parameter will be filled with the value from the screen field.
image

Now Creation of System data Container :

Transaction ‘SECATT’.
image
Since we are not Doing Remote Testing .Therefore Test System is “NONE
(In Case of Remote Testing RFC destination has to be created in SM59 and should be specified under “RFC Destination Tab”)
image
In the next weblog Creation of  “Test Configuration” and Execution of the Test Case will be covered thus completing the Test Case for Sales Order Scenario.
 





 
Copyright © 2005 - 2007 SAP Security Online.com All Rights Reserved.