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

Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1691


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1453


What is the latest version of qtp?

576


How are actions and functions different in QTP?

648


Which scripting language used by quicktest professional?

524






How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3604


What is TOM in QTP?

1799


What is the use of Debug Viewer?

1478


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1372


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1343


Explain different recording modes?

573


Dis advantages of XML checkpoint ?

1573


What do you to script when objects are removed from application?

608


What are the different types of action?

548


What are benefits of qtp?

575