‎2008 Dec 22 6:32 AM
Hi,
I am new to eCATT.
I need to chain 2 test scripts. First one triggers a BDC. There is no message generated at the end of running the 1st test script.
When the BDC is run successfully, the 2nd test script needs to be run.
How can i chain the 2 test scripts?
Thanks & Regards
Sonalika
‎2008 Dec 23 8:43 AM
Hello,
I am not aware of BDC , however you can do a database check , if there is any change introduced in the database by the first script. After the first script has run successfully do the database check , if the check is successful then run the second script.
Also you can perform the screen check if there is any change in the screen after the first script execution.
Thanks and Best regards,
Ajay
‎2008 Dec 23 5:34 PM
>
> Hi,
>
> I am new to eCATT.
> I need to chain 2 test scripts. First one triggers a BDC. There is no message generated at the end of running the 1st test script.
>
> When the BDC is run successfully, the 2nd test script needs to be run.
>
> How can i chain the 2 test scripts?
>
> Thanks & Regards
> Sonalika
Hi Sonalika,
It can be achieved very easily.
Create one test script(Main script) and call the other two scripts(Child scripts) using the command REF.
Call the test scripts in the order you have to execute in the main script.This will make the Main script to execute the order in which you want.Once the execution of first script is over,it will execute the second one automatically.
Eg: In the main test script Zmaintest_script
call child scripts like below using ref command in Pattern.
Ref ( child script 1).
Ref( Child script 2).
We have to do the necessary parameterization in the main script as well.
Hope this answers your query.
Regards,
SSN.
‎2008 Dec 23 5:37 PM
Hi Sonalika,
FOr checking the condition,the BDC executed successfully or not,one can use the ABAP commands inside the script.(ABAP...ENDABAP) and write ABAP commands to check whether BDC executed sucessfully or not.
Also,we have various commands available with eCATT to check the conditions.
Regards,
SSN.