When can shared object repository fails?
Answers were Sorted based on User's Feedback
Answer / sandeepguttikonda
In QTP object repository is used to store the properties
and values of an object.
There are two types of Object repositories:
1) Local Object Repository
2) Shared Object Repository
We can associate a shared object repository to n number of
actions. But, the mail disadvantage of a share object
repository is the properties and values are in read only
mode and cannot be edited there in the action.
So, this will fail when the properties are changing
dynamically during runtime which can be handled by using
SetTOproperty. And here with shared object repository this
cannot be done and it fails.
Regards,
Sandeep Guttikonda
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / scorpion
I think u r wrong.When using a shared repo, a local copy for each person wil be made by qtp.More than 2 persons cn load the same repo and change.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / veeresh
Shared repository can be changed from object manager only.
and not related to any script.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / saurav
Just to correct guys:-
SOR can be shared across scripts but cannot be changed across users for editing.So only one person can edit the repository at a time.
| Is This Answer Correct ? | 0 Yes | 0 No |
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
How should I get results when I run scripts in a Batch mode
When we use Object Spy? can we write QTP script before built is came in testing?
Can a function return a dictionary object?
Can anybody post some real time scenario in qtp? please its very urgent.
Explain the Load testing process?
How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!
how to do spell check in QTP? reply please
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
What is qtpro? What is quick test pro? What is a quick test professional?
how to find that tools work well with ur existing system?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)