How to add Dynamic Objects to Object repository?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / ravichandranath
Setroproperty.
using this we can add dynamic objects in object repository
bye
ravichandranath
Is This Answer Correct ? | 1 Yes | 10 No |
How can you quit from Action.
What is quicktest professional window?
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!!!
How u prepare Test result summary in QTp?
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.
What is qtpro? What is a quick test professional?
how to do spell check in QTP? reply please
How to export data present in Datatable to an ".xls" file?
How can you connect the database with QTP?
why use Description programming? what is advantages and disadvantage of this methods?
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.
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?