When can shared object repository fails?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between quicktest professional (qtp) and winrunner?

568


How to use parameterization in qtp?

620


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1525


how many maximum number of virtual users we can create?

1568


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1427






I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

1698


how to create flat file datasubmission in qtp

1899


what is the difference btn risks & Therads in the Test plan documentation?

1585


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

618


What is system testing and what are the different types of tests you perform in system testing?

597


Is text area check point supports for web applications?

531


What is difference in global and action sheet in qtp?

606


How many tabs are available in debug viewer pane?

645


Can we record an application running on a remote machine using qtp?

719


what type of framework u r using in ur organization

1648