I have two actions in my QTP test and two iterations in my
DataSheet. I want to execute the Action 1 for the two
iterations only after which i want to exceute the next
Action2. How is this possible?

Answers were Sorted based on User's Feedback



I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / tamilselvi, tcs

Hi,
It is very simple. Keep your Action1 data in Action1 data
sheet(not in Global data sheet).
go to keyword view,select action1,goto edit->action->call
properties->run on all rows.

When you execute the test with the above settings, Action1
will be executed twice after which action2 will be executed.

Execution order can be tracked in Action0 which you can
find by openning the saved qtp test in a normal way without
using QTP.

Is This Answer Correct ?    5 Yes 1 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / v.dileepkumar008

go to keyword view,select action1,goto edit->action->call
properties->run on all rows.
select action2->select run one iteration only.

Is This Answer Correct ?    1 Yes 0 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / arul antony prakash

First u execute the Action1 and then call the Action2 with
RunAction copmmand which will generate once you create the
Action2.

Is This Answer Correct ?    2 Yes 4 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / baskar palani

from this question?the two different action was created
already with data are parameterised for two iteration.

In this case run the first action separaetly and insert
call to exsisting or call to copy of action at the end of
action 1 script.now action 1 will run for two iteration
after completeion of action 1 action 2 will run for 2
iteration. 2

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More QTP Interview Questions

how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script

1 Answers  


What is the meaning Work bench?

0 Answers  


does test plan is in test strategy or test strategy is in test plan

2 Answers   Tanla Solutions,


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

0 Answers  


How to record a qtp script ?

0 Answers  






how do you do database testing in qtp

5 Answers   NIIT,


Explain in brief about the qtp automation object model (aom).

0 Answers  


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

0 Answers  


does the vb script knowledge is mandatery in testing using QTP

1 Answers  


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


How you r using QTP in u r project

1 Answers   IBM, Lehman Brothers,


what are the 5 types of objects in qtp

6 Answers   ABC, TCS, Wipro,


Categories