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

Chaining test scripts

Former Member
0 Likes
499

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

3 REPLIES 3
Read only

Former Member
0 Likes
457

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

Read only

Former Member
0 Likes
457

>

> 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.

Read only

0 Likes
457

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.