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 |
how to get the object property
Diff b/n image n bitmap checkpoints?
How to execute the test cases using QTP. i.e What is the use of QTP while execution
3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.
can u Give Procedure to Handle Pop Window & write Code for that
How to load the object repository at run time?
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 to explain a banking project in interview as a test engineer???
How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
what is input pramater out output pramater ?i want the decrepation..?how to use in QTP?
3 Answers Infinite Computer Solutions,
What is the use of environment variables?