Skip to Content

CBTA Composite script execution with single login/logout


Does anyone know how to work with composite scripts using single login and logout.

In normal process, for each script in composite , login and logout happens. Is there any way i can use single login at the beginning and a single logout at the final script.

Thanks in advance,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • May 13, 2018 at 01:47 PM


    Each script inside a composite script is a standalone script.
    Or it is how it was recorded. Logon, executable, logoff.
    So this is why you see this behavior when you place multiple scripts in a composite script.

    It allows for reusability. You can then reuse scripts in other scenarios.

    The scenario you are describing can be recorded in one script, it would be an end to end process, but not reusable.
    But you can logon to a SUT and Record as many transactions as you like, and logoff once done, and that one script will logon once and replay all the transactions and logoff once.

    You could make a copy of the Scripts and in the first script remove the logoff command, in all but the last remaining scripts remove the launch and logon and logoff commands, and in the last script remove the launch and logon command, this should work on a ABAP system, but I have never tested it.


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 23, 2018 at 12:19 PM


    As Paul has very described the best practice is to break the larger functionality into small piece and create modular scripts for each of the functionality. This way we attain reusability by using the same scripts when required in other e2e scenarios.



    Add comment
    10|10000 characters needed characters exceeded