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 do u fetch data from a database ?

2 Answers  


difference between multiple parameterization and data driven wizard in QTP?

1 Answers  


Name the different types of recording modes?

0 Answers  


i want 8.2 and 9.2 dacuments plhelp any body sand it to my id sandhyat1@yahoo.co.in

3 Answers   Siloka,


What is the syntax for how to call one script from another?

0 Answers  






Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.

2 Answers  


In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..

1 Answers   Wipro,


i'm using QTP 8.2. A person using QTP 9.0 sends me a QTP TestScript, same when i try to open , an error comes "unexpected file format". Why?? and how to resolve the problem??

2 Answers  


When a requirement is given to u to automate , What is ur basic approach ?

4 Answers  


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

0 Answers   RR Donnelley, RRDonnelley,


IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

2 Answers  


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop (i.e. I first connect to remote desktop from my machine in order to run the application). I am able to record the script successfully with QTP running on my machine and application running on remote. However, when i run the recorded script, system fails to run it and indicates me that it does not identify the object. Is it possible to record and play while QTP and AUT are not on same machine?

7 Answers   ABC,


Categories