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

Whether qtp 9.0 supports Test director8.0

1 Answers   TCS,


How we can differentiate between stand alone application and web application in QTP?

3 Answers   Deloitte,


How to load a object repository(using VBScript) ... very urgent....

4 Answers  


Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.

6 Answers  


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


How can you handle exceptions in qtp?

1 Answers  


What is the difference between per-action and shared?

1 Answers  


what is the process to follow between writing the test cases & then atomating it?

1 Answers  


On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.

4 Answers  


When to use Descriptive programing?

2 Answers   Wipro,


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1 Answers   Wipro,


how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


Categories