How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP

Answers were Sorted based on User's Feedback



How do we Access, retriew and edit the runtime objects in Automation Testing using QTP..

Answer / kumar

To access runtime objects we can use GETROProperty
and SETTOProperty to change the TESTOBJECT property in QTP.







Kumar.rnv@gmail.com
Broadridge

Is This Answer Correct ?    7 Yes 0 No

How do we Access, retriew and edit the runtime objects in Automation Testing using QTP..

Answer / nalini

We can access the runtime objects by its properties. Ex:
GetROProperty method

Is This Answer Correct ?    3 Yes 0 No

How do we Access, retriew and edit the runtime objects in Automation Testing using QTP..

Answer / baba

We cannot edit runtime objects in Automation Testing, bcoz
Runtime objects means the Objects available in AUT,
we can only use the properties available for objects and we
can change the property/properties available in OR during
runtime by using SETTOPROPERTY

We can retrieve the property and its value by using

GetRoProperty

eg:
dialog("Login").Activate
dialog("Login").WinButton("OK").SetTOProperty "text","Cance"
print dialog("Login").WinButton("OK").GetROProperty("text")

it returns "Cance"

it is changing the property value during runtime.

please check it once in ur QTP

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

How comfortable are you in VB scripting?

2 Answers  


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

0 Answers   EpuraTech,


What is an optional step in qtp ?

0 Answers  


What is synchronization point in QTP?

0 Answers  


is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP

5 Answers   IBM,






what are the qtp tester responsibilities?

3 Answers  


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  


how to identify an object which is not in the object repository identification can be done using descriptive programming.

2 Answers  


what is the purpose of QTP?

2 Answers  


How do you use the parameters.input parameters and out put parameters.

1 Answers   Polaris,


I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.

5 Answers  


Suppose I want fail that check point? How can you do that?

0 Answers  


Categories