Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

When you open QTP, how many sheets you can see?

0 Answers   Wells Fargo,


Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .

2 Answers   Quest,


what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".

3 Answers  


Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this

1 Answers  


can we use QTP for load testing instead of load runner?

3 Answers  


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

0 Answers   Accenture,


DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN

4 Answers   IGT,


How to find which type of Framework is suitable for which type of application?

4 Answers   CTS,


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

0 Answers   IBM,


How to capture the text from the application using QTP?

3 Answers  


How we know the qtp has used the smart identification process for identification of the object.

4 Answers   IBM,


What is the entry and exit point of automation testing

2 Answers   Infosys,


Categories