Skip to Content
0
Jun 13, 2020 at 06:20 PM

Change of Application server in SUT to record business process using CBTA

54 Views

Hello All,

Need your input wrt CBTA automation, i have a business process where the first step isto change the application server in SM51 in SUT, this needs to be done as the Business process will not work with the application server which comes by default when u login to SUT.
So i have automated the step to change the application server in SM51
Now the 2nd business process step is say VA01 when the 2nd CBTA test script starts the application server is reset back to the one where the process will not work.
Is there a way where I can set the application server to one specific by default and whenever the system starts it always starts in this application server.

I tried the approach of including the steps of changing the appilication server within the VA01 script itself where it first goes to SM51 changes the server and used CBTA_GUI_A_START_TRASACTION to launch VA01 transaction, however this will not work as to use CBTA_GUI_A_START_TRASACTION there has to be launch and login which when used will reset the application server.

I also tried the approach of recording VA01 where in the first step I change the transaction to SM51 change the application server and come back to VA01 to continue the recording in the same session but none of these steps gets recorded in PFA of CBTA if I switch the transaction.

Please let me know if you have encountered such scenario where you had to change the application server.

Thanks,

Aj