Answers to UFT interview Questions (Part-3) – User friendly Tech help

Answers:-
n
n1. Following are the main disadvantages of Shared OR:-
n
n As this is shared across projects, incase user deletesupdates any of the object by mistake, it results in failure of all the Test scripts with which Shared OR is attached.
n
nConcurrent issue, Only one user can edit the Shared OR at a time, so in multiple user team working on same Shared OR, person has to wait to add objects to OR until other person closes, otherwise it’ll come in read only mode.
n
nIncase we are running UFT  in update mode, it is not possible for  Shared OR, as it comes in read only mode in object repository window
n
nI am not very sure whether it has any performance implications as it is a single file shared across multiple projects.
n
n
n2) Test Resources (TS) tab is used to store various resources available for automation. Basically it acts as a shared store house, like we deposit our money in bank. So various resources that can be saved in TS, can be Test Scripts, Environment Variables, Shared OR,Data Table, Data files(like Excel), Recovery scenario’s, Test cases, Function library .
n
nPlease add incase we are missing something.
n
n3)Method1:–
n  RepositoriesCollection.Add(“Path of OR”)
n  Method2:-
n  Using Automation Object Model
n
n4)Refer the link Test Batch Runner

n

More FAQ’s 

Was this article helpful?
YesNo

Similar Posts