Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Output Validation using ECATT

Former Member
0 Likes
711

Can we use eCATT to validate outputs of a program?

Please Share some resources where I can learn about this.

Thanks.

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
641

Hello Ashan

The simple answer is: YES, we can.

The more elaborate answer it: The effort depends on how the program generates the output to be tested.

I give you a few examples:

(1) If the report creates an object (e.g. VA01 creates sales order) then the report sends a final success message as output which can be captured using the MESSAGE...ENDMESSAGE pattern.

(2) If the report modifies DB table entries then you can select these entries using the GETTAB pattern combined with the CHEVAR pattern.

(3) If the (custom) report generates more complex output then it is advisable that the report allows easy access to this output, e.g. by exporting the output to the ABAP memory. Then you can try to fetch the output within your eCATT script using ABAP...ENDABAP and evaluate it by ABAP means.

For more details please refer to:

[eCATT: extended Computer Aided Test Tool (BC-TWB-TST-ECA)|http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/content.htm]

Regards

Uwe

Read only

Former Member
0 Likes
641

Hello,

Yes , eCATT can be used to perform the checks on the output of the programs in the following ways :

-> Database checks if the program that you are talking about modifies any table entries

-> Screen checks if there is any updation on the value of the screen fields through GETGUI command

-> You can also use MESSAGE.... ENDMESSAGE command to check for the appearence of the messages

Hope it answers your question.

Thanks and Best regards,

Ajay

Read only

0 Likes
641

Hi ajay

can you provide any screen shot for this, so that we can understand better

Regards

R

Edited by: Vagdevi on May 18, 2009 5:56 PM

Read only

0 Likes
641

Hello,

I dont have any screen shots unfortunately.

Probably you can send me the program name and the system details.

Thanks & Best regards,

Ajay