How to Parameterize Object repository in QTP?
Answers were Sorted based on User's Feedback
Answer / kailash nath
1. Open Object repository manager
2. Manage Repository parameters
3. Click on "+" button
4. Add parameters
5. Click on "<#>" button against a property value to
configure the property value.
6. Save the shared OR
7. Map this OR with any action
8. Click on "Map repository parameters" under "Resources" tab
9. Select Action for which you already mapped shared OR
10. Click on "<#>" button under "Value" column
11. Click on "Parameter" radio button
12. Select parameter name and sheet name
12. Click on "OK" button
Now your parameter will be parametrized with shared OR.
cont - 9910900759
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / sai sankar
parametrization means transfering values or passing test
data values from one action to another action / one test to
another test. In Qtp we can parametrise datas by four
methods:
1. Action parametrisation(from one action to another action)
2.Data table (same as action but data table is used for
transfering datas)
3.Environment
4.Random Numbers
| Is This Answer Correct ? | 10 Yes | 5 No |
Answer / naaz
We can Parameterize the Object's properties of the OR. In
the QTP 9.1 we have 2 types of OR (i.e. Object Repository).
1. Local OR and 2. Shared OR. We cannot paramererize the
Shared OR's Object properties. But we can Paremeterize the
local OR's Object properties. We can use either Local
dataTable or Global dataTable to paremeterize it. We have
to select the datatable and then column name. We can use
regular Expressions also.
| Is This Answer Correct ? | 5 Yes | 7 No |
Answer / uday kumar_anem
In QTP 8.2, we can parameterize both the per-action OR and
shared OR.
For Per-Action OR, we can parameterize in both the global
sheet and local action sheets.
To do this, we can select the object in OR, and choose
parameter radio button in configure value dialog, and
choose global or current action sheet in parameter options.
If the OR is shared OR, here only global sheet option is
visible and current action sheet is disabled.
To parameterize the OR follow below navigation:
Open the OR by tools-OR or OR button -> Select the object
in OR or parent object -> Click parameter radio button and
click -> click on the parameter options button beside the
textbox ->select data table in parameter type list box ->
choose the data sheet type and choose column name in the
sheet
| Is This Answer Correct ? | 3 Yes | 6 No |
How can you find Local Host Name by Using QTP?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.
How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.
If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
if full in Object Repostoiory then how to load other Object Repository
How to retrive XML file data in QTP ? using Script(Chandana)
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to call script1 into script2?
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.