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 two transactions

Former Member
0 Likes
467

Hi All,

I have two transactions. I need to execute one after the other. But the first one dont through any export parameter and once the first transaction executed automatically the second transaction has to be run. I sit possible to run like this with out having any export parameters from the first transaction?

I have created two separate scripts for running two transactions and for chaining them i hav e created third script but how can i get them executed one after the other?

Thank you in advance

Regards

G.s.naidu

3 REPLIES 3
Read only

Former Member
0 Likes
432

>

> Hi All,

>

> I have two transactions. I need to execute one after the other. But the first one dont through any export parameter and once the first transaction executed automatically the second transaction has to be run. I sit possible to run like this with out having any export parameters from the first transaction?

>

> I have created two separate scripts for running two transactions and for chaining them i hav e created third script but how can i get them executed one after the other?

>

> Thank you in advance

>

> Regards

> G.s.naidu

Hi,

In the third script,you have to do the following.

Once you are in the command editor,you have to use the command REF from the pattern.

We have to use this command to call the test scripts as follows/in the order in which you want to execute.

REF(SCRIPT A,SCRIPT A_1).

REF(SCRIPT B,SCRIPT B_1).

The next step is to parameterize the required fields in the third script(Parent script).

When you execute the main script,it will execute in the pattern you want.

hope this info help.

Regards,

SSN.

Read only

Former Member
0 Likes
432

Hello,

Say you have created 2 subscripts A & B , which are called one after the other in master script C

So the script C should look like this :

Script C :

Ref ( A , A_1 )

Ref ( B , B_1 )

Here A_1 & B_1 are the interfaces of the script A & B wherein the import and the export parameters of each of the script can be seen and can be parametrized with the required value.

Now A executes after B .

Hope it answers ur question .

Thanks & Best regards,

Ajay

Read only

Former Member
0 Likes
432

Hello,

Say you have created 2 subscripts A & B , which are called one after the other in master script C

So the script C should look like this :

Script C :

Ref ( A , A_1 )

Ref ( B , B_1 )

Here A_1 & B_1 are the interfaces of the script A & B wherein the import and the export parameters of each of the script can be seen and can be parametrized with the required value.

Now A executes after B .

Hope it answers ur question .

Thanks & Best regards,

Ajay