When can shared object repository fails?

Answers were Sorted based on User's Feedback



When can shared object repository fails?..

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

When can shared object repository fails?..

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

When can shared object repository fails?..

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

When can shared object repository fails?..

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

Post New Answer

More QTP Interview Questions

How to Map network drive in QTP

3 Answers  


How to open an application through scripting?

11 Answers  


I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code

1 Answers  


how do pass parameters from one action to another action

2 Answers  


wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference?

2 Answers   Datamatics,






Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?

3 Answers  


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next

3 Answers  


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


How many test scripts are prapare in ur project(HeathCare Insurance).

1 Answers   Virtusa,


Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


Categories