Skip to Content
author's profile photo Former Member
Former Member

Chaining test scripts

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 05: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.