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 |
What is output value?
How many tabs are available in debug viewer pane?
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards
how can we test load time of an page in webtesting?
How you are developing the script? Using record and play back or manual?
How can i open 5 multiple browser at once through QTP VB script
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?
How can we add regular expression for date field (dd/mon/yyyy)?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
Explain script generated after applying database check point?
Discuss QTP Environment.