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 we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..

3 Answers   IBM,


what is the difference between development and testing

1 Answers  


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

0 Answers   TCS,


What is data driver in qtp?

0 Answers  


What is the use of running the scripts in Hidden-mode in UFT?

0 Answers  


Hi, i am mallishwari, i am veryn ew to testing but i have very much interest in testing. plse give me some guidence to get the job in testing. send me required documents and faqs to my personal id: mallishwari_urs@yahoo.co.in thans for advance.

2 Answers  


Can anybody give the script to addsheet, add column,add values under that column in the rows?

2 Answers   McAfee,


Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn

2 Answers   Hewitt,


do you prepared framework,pls answer this

1 Answers  


how i can delete the excel process for the task manager using QTP

2 Answers  


Did you face the problem, changing the properties of an object in Run Time?

1 Answers  


Where u will use output checkpoint in QTP?

3 Answers   HCL,


Categories