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

cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs

7 Answers   Symphony,


How to handle run time errors?

9 Answers  


What is Environment Variable and when we apply this in QTP?

4 Answers  


How to use conditional loops in qtp ?

0 Answers  


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,






what is the mediater between qtp and application/project in automation testing?

1 Answers  


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

0 Answers   Adea Solutions,


difference between multiple parameterization and data driven wizard in QTP?

1 Answers  


How to find array size in qtp?

0 Answers  


what is the defference between calling ation and called action?

1 Answers  


1.how can we report the QTP test result in a different excel sheet 2.

3 Answers   Aurigo,


Differentiate the two Object Repository Types of QTP.

5 Answers  


Categories