what is object repository?
Answers were Sorted based on User's Feedback
Answer / rajasekhar
Object Repository is a Storage Place where the QTP stores
the object's properties in it for identification(through
recording or adding the properties manually).
It contains all the Test Object Properties and any
modifications done in Test Object Properties will be
affected in the script.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prasanth
Object Repository is a file which can hold objects
recognized by the QTP. There are 2 types of object
repository's.
1. Shared object repository (just like a global variable
which can be accessed in all the scripts)
2. Per action object repository.(just like local variable
which is specific to the particular script)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sandipgami84
Hai Friend,
In QTP there are two types of Object Repositories 1. Per
Action/ Per Test mode 2. Shared Object Repository.
Per Action Object Repository is used for only current test.
If we modify any object properties in Object Repository that
do not effect on any other actions.
If we modify any Object properties in shared Object
Repository, we need to change same changes in the test that
containing the same Object.
OR Collection of TestObjects, TestObjects Stored in Object
Repository.
Hai friends, If any mistake plz let me know.
Thanks,
Sandip
97141 77088
| Is This Answer Correct ? | 0 Yes | 0 No |
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..
what could go wrong with test automation?
can any one tell me the script to click on a button in the wintoolbar.
What is the real use of different actions in QTP
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman
How can I replace all the text from the QTP script with some other text.
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close
any one can send me the concepts of qtp
Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088
Why to use descriptive programming?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this