How to add Dynamic Objects to Object repository?

Answers were Sorted based on User's Feedback



How to add Dynamic Objects to Object repository?..

Answer / nanda

Hi Ravi,

We don't have SetROProperty method.

Is This Answer Correct ?    6 Yes 2 No

How to add Dynamic Objects to Object repository?..

Answer / anu

Try This:

set BrowserDesc= Description.Create()
BrowserDesc("Class Name") = "Browser"

Dim ObjRep = CreateObject("Mercury.ObjectRepositoryUtil")
ObjRep.load "C:\sampleRep.tsr"
ObjRep.AddObject BrowserDesc,Null,"Browser1"
.

Is This Answer Correct ?    2 Yes 0 No

How to add Dynamic Objects to Object repository?..

Answer / devi

using SetTo we can only assign dynamic value to the other
object captured from a dynamic object.

Is This Answer Correct ?    3 Yes 2 No

How to add Dynamic Objects to Object repository?..

Answer / dinesh1433

We can add dynamic object in OR using object prameterization,(affter adding the dynamic object using object spy then change the object property name to class and assign the class name. after adding if it matches more than one object then use index property)

Is This Answer Correct ?    0 Yes 0 No

How to add Dynamic Objects to Object repository?..

Answer / ravichandranath

Setroproperty.
using this we can add dynamic objects in object repository
bye
ravichandranath

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More QTP Interview Questions

what is the automation framework that ur company using(actual procedure,not theoritically explination)

1 Answers  


What is the difference between rational rose and QTP?

0 Answers  


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

0 Answers   Ordain Solutions,


What is object spy in quicktest professional?

0 Answers  


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

0 Answers  






Explain about Test Fusion Report of QTP?

0 Answers  


What are the Application Functions available in QTP?

0 Answers  


How can we get a textcheckpoint in QTP9.1?

2 Answers   EmTechPro,


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

2 Answers   TCS,


Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

0 Answers  


Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?

0 Answers   Ness Technologies,


Categories