How to call actions in QTP?
Answers were Sorted based on User's Feedback
Answer / 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 |
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code
what is advantage of descripting programming in QTP?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
In QTP where i have to concentrate more in the Interview point of View
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?
Are You using any frame work? What is that? Explain about that.
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
can we run the scripts of qtp 8.2 in the qtp7.0?