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

How can you quit from Action.

2 Answers  


What is quicktest professional window?

0 Answers  


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

0 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.

5 Answers   Semantic Space,






What is qtpro? What is a quick test professional?

0 Answers  


how to do spell check in QTP? reply please

8 Answers  


How to export data present in Datatable to an ".xls" file?

2 Answers  


How can you connect the database with QTP?

3 Answers  


why use Description programming? what is advantages and disadvantage of this methods?

2 Answers  


It is very difficult to test in manual for that we go to DATA DRIVEN TEST.

3 Answers  


How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?

4 Answers   Wipro,


Categories