How to load an object to a object repository at RUN TIME ?

Answers were Sorted based on User's Feedback



How to load an object to a object repository at RUN TIME ?..

Answer / sumit shrivastava

How will you load the object during run time?

Ans :- You can modify the properties of the temporary
version of the object during the run session without
affecting the permanent values in the object repository by
adding a SetTOProperty statement in the Keyword View, Expert
View, or in a user-defined function.
Use the following syntax for the SetTOProperty method:
Object(description).SetTOProperty Property, Value

Is This Answer Correct ?    1 Yes 3 No

How to load an object to a object repository at RUN TIME ?..

Answer / sathish

using automation object model we can add new object to the
object reporsiotry

Is This Answer Correct ?    0 Yes 2 No

How to load an object to a object repository at RUN TIME ?..

Answer / nanda

you can not add object to Object repository with using
script.

if any queries..

nanda.dreddy@gmail.com

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More QTP Interview Questions

Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.

3 Answers  


Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

10 Answers  


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

0 Answers  


I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?

3 Answers  


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

0 Answers  


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers  


Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.

1 Answers   Virtusa,


Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..

5 Answers   Clinical Soft,


There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me

2 Answers   Livetek,


what is difference between application testing and product testing?

5 Answers   IBM,


Extract a word from a sentenece?

5 Answers   IBM,


How to Compare two database tables by using QTP?Please give me code details.

1 Answers  


Categories