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 |
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?
What are the properties you would use for identifying a browser & page when using descriptive programming ?
Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).
how to upload an excel sheet to quality center?
hai friends i already ask this question but when i post the question the alignment goes wrong .....my question is we have a WEB TABLE ....assume that web table having 3 row's and 3 column here in 2nd row 3rd column having VISIT FACEBOOK link...now i want to check the VISIT FACEBOOK link is available or not ..if it's there i want to click the link ...then how to find the web table row or column count ....don't write the excel or data table script here friends .....consider that it's a WEB TABLE do a favour ...thank's
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
keyword driven framework having how many folders? explain folders in detail?
What is the main disadvantage of using low level and Analog modes?
In a QTP project lets say there are 100+ function library and incorrectly we have duplicate some function in multiple libraries. How to find those duplicate functions and remove them?
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
What is test fusion report?