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 |
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework
hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
what is the extension of action script template?
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
Can Any One Write How to Write the Script for Child Objects
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
can anyone please send me qtp framework material please its urgent
How to check and display a particular word from a paragraph?
what is the difference between development and testing