‎2009 Mar 18 6:32 AM
Can we use eCATT to validate outputs of a program?
Please Share some resources where I can learn about this.
Thanks.
‎2009 Mar 18 6:42 AM
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
‎2009 Mar 18 6:00 PM
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
‎2009 May 18 1:25 PM
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
‎2009 May 20 5:29 AM
Hello,
I dont have any screen shots unfortunately.
Probably you can send me the program name and the system details.
Thanks & Best regards,
Ajay