Answer Posted / nandishpatil
You can call a action in QTP by the following:
1. Insert > Call to Existing Action
2. Select the "Test From" (If "Action" is being called from
another Test)
3. Select the "Action" you want to call
4. Then select the Location, where the "Action" needs to be
called in the current script
5. Click "OK"
Or you direct write the script as below in the line where
you want to call the action:
"RunAction <ActionName>, (Iteration)"
Here, "<ActionName>" is the Action you want to call and
the "(Iteration)" is optional where you can define number
of iterations you want to execute.
Eg:
1. RunAction Action2, OneIteration (For single Iteration)
2. RunAction Action3, AllIterations (For All Iterations)
3. RunAction Action4, 1-3 (For iterations from 1 to 3)
Note: To Call an "Action" multiple times or to Call
an "Action" from Other Tests, make sure the "Action" is
marked as a "Reusable Action".
| Is This Answer Correct ? | 51 Yes | 3 No |
Post New Answer View All Answers
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
How QTP support all types of applications (platforms)?
Describe function procedure in vbscript.
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Explain the Different types of QTP test assets and their extensions?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
Give the syntax to import/export xls into qtp.
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
What are the types of object repositories? Which one is you are using?
how to evalute defects in QTP script?
Write a script to verify font style and color of a windows object using descriptive programming
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
how to test use the quality control .how to verify the image verification
What is qtpro? What is quick test pro? What is a quick test professional?
what could go wrong with test automation?