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 to change the scripts from Per-Action object repository to shared object repository

1 Answers  


can any one explain with an example how to test Web application using qtp

3 Answers  


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

0 Answers  


Gmail application is there.On that Inbox so many mails are there including naukari mails. On that mails i can select the only naukri mail checkboxes. plz tell the descriptive code for the above..

2 Answers   Impetus,


can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.

4 Answers  






Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


what is the exact testing process in qtp plz explin ?

2 Answers  


can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?

2 Answers  


What is the difference between Client/Server application and Web application ?

2 Answers   ArisGlobal,


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  


for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?

13 Answers   Logica CMG,


Hi, i want download attached files in test plan area from QC to local drive in my system using QTP script. Please help me

3 Answers  


Categories