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
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 |
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 |
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 |
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 |
How you can find the absolute value of the number in qtp?
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Error handling
how to create external data table?
which checkpoint we use to validate yahoo login screen window after login with ur id and password in qtp
How can you write the scripts that operate on different objects depending on run-time information?
How to call Datable values in the QTP program. exp: I have two parameters like Email id and Password this two i would like to add multiple entries in the datable to use it. What is the difference between Gobal/Action datatable
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
how do u prepare Test Environment ?
What is the another extention name of library file.If that is exist than what's the differnce between them.