04-23-2010, 06:23 PM
Hi All,
I have a question on handling the iterations and how many times the Actions are run based on the iterations.
here is my scenario ,i have a qtp script with 2 actions and i have 5 rows of data in each of the action specific data tables. now i want to run the the first action with the first row of its data and then the second action with the first row of its data.
for eg. i have action 1 and action 2 and action1 has 5 rows of data in its datatable and similarly action 2 has 5 rows of data in its own data table and my global data sheet does not have any data.
now when i run the script action 1 should be run with the row 1 data and then after that action 2 should be run with the row 1 data (from its own data sheet) and then action 1 again should run with row 2 data and then action 2 with row 2 data and so on
how do i handle this situation, also is there a way we can handle the iteration and action calling when both the actions have data in their own data sheets but the number of data rows are different.
any help in this is greatly appreciated
thanks in advance
prasad
I have a question on handling the iterations and how many times the Actions are run based on the iterations.
here is my scenario ,i have a qtp script with 2 actions and i have 5 rows of data in each of the action specific data tables. now i want to run the the first action with the first row of its data and then the second action with the first row of its data.
for eg. i have action 1 and action 2 and action1 has 5 rows of data in its datatable and similarly action 2 has 5 rows of data in its own data table and my global data sheet does not have any data.
now when i run the script action 1 should be run with the row 1 data and then after that action 2 should be run with the row 1 data (from its own data sheet) and then action 1 again should run with row 2 data and then action 2 with row 2 data and so on
how do i handle this situation, also is there a way we can handle the iteration and action calling when both the actions have data in their own data sheets but the number of data rows are different.
any help in this is greatly appreciated
thanks in advance
prasad