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

BEst INstitute for QTP & SELENIUM

1 Answers  


Hi All,I am in wierd situation that my laptop is installed with QTP11 and os is xp sp3.The problem is the descriptive programming which i have written is working in other laptops and it is not working in my laptop.it is clicking the link which is above the testbox instead of typing it in textbox below it.It is same with the other working scripts written by another person.

1 Answers  


Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com

1 Answers  


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

0 Answers  


Where we can use the synchronization?

0 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?

6 Answers   Covansys,


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


how to get font size of a "WebEdit"

3 Answers   L&T,


I am just a beginner in QTP. Could any one explain me in detail how to automate adding two numbers and getting the result in QTP. Also I would like to parameterize the inputs. I have tried but getting an error like 'Can't use sub.....'(can't recollect the exact error)

2 Answers  


Categories