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 |
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why?
How can we fill data in a text box without recording using object spy. Can you please provide the steps...
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
breef description of batch testing ?
If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
What do you mean by iteration?
How to use transactions in qtp?
Did u use check points during ur work experience ?
Who uses qtp tool?
Explain the check points in quicktest professional (qtp)?