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 many ways is to parameterize the value?
Explain how you can delete excel file in qtp?
How to create an instance in QTP?
How to make arguments optional in a function?
what is selective recording ? and normal recording?
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
What is throw Object?
Explain the difference between smart identification and object identification withn clear example. please it is very urgent
How to get popup error message.
wht type of User defined functions or Java Releated functions do we write in VB scripting
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......
regular expression