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

What is the latest version in QTP?

55 Answers   Bharti, Polaris, US Technology,


Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..

2 Answers  


What is object identification?

8 Answers   Wipro,


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

0 Answers   Value Labs,


How to test a web application using QTP?there is no any .exe file in web app,then how we can take the application for testing

2 Answers  






How we can add actions in the test using QTP?

2 Answers  


What is method name to compare two XML files.

0 Answers  


Among the 3 Recoring modes,Standard, Analog and Low Level. which one is mostly used. I know that Analog id used for Graphs, Digital Signatures and Barcoding. so, which one among the 2?

1 Answers  


In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?

6 Answers  


We need to verify the user name & password in for the user validation. But we don't want to use the parameterization/ loop for user name and password. What is the way in scripting so that user & password will generate automatically.

11 Answers   Tech Mahindra,


actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


In qtp,how to interact tool & application build?

1 Answers   Polaris,


Categories