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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

869


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

618


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1308


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1906


Describe the differences between functions and actions in UFT?

613






what type of framework u r using in ur organization

1654


Why bpt?

594


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

1574


If you are testing a web application then what will you test in that application?

1544


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1409


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1677


What is a Patch in QTP?

608


how many maximum number of virtual users we can create?

1573


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2441


What is the extension of the qtp local repository?

568