Skip to Content
0

CBTA Composite script execution with single login/logout

May 04 at 09:31 AM

41

avatar image
Former Member

Hi,

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,

Pragya

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Paul Babier
May 13 at 01:47 PM
0

Hello,

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.

Paul

Share
10 |10000 characters needed characters left characters exceeded