Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Testing Tools > Automation Testing > QTP

QTP QTP Interview Questions, Learn by sharing QTP Interview Questions asked in various companies, Get Career advices, Interview Procedures from QTP experts, Post asked QTP Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-24-2008, 01:15 PM
Senior Member
 
Join Date: Feb 2008
Posts: 9,095
Default How to retrive

How to retrive the property of an object?
Reply With Quote
  #2 (permalink)  
Old 06-07-2008, 06:18 AM
Member
 
Join Date: May 2008
Location: Bangalore
Posts: 32
Send a message via Yahoo to pavanb
Default

To retrieve property of an object, we can use
GetROProperty(text)
method
Reply With Quote
  #3 (permalink)  
Old 06-07-2008, 11:06 AM
Junior Member
 
Join Date: Jun 2008
Posts: 14
Default

through object spy
Reply With Quote
  #4 (permalink)  
Old 07-08-2008, 09:42 PM
Junior Member
 
Join Date: Jul 2008
Posts: 10
Default

We can retrieve the properties of an object through the following:
1) Through Recording when we record the object properties are stored in the local OR
2) Through adding the object into the OR with add object button in the OR
3) Through Object Spy

If you know any other ways to retrieve object properties let me know on
sheshadrineela@yahoo.com

I don't think that GetROproperty is used to get the object property but
When you run your test, QuickTest creates a temporary version of the test object that is stored in the test object repository. You can use the GetTOProperty, GetTOProperties, and SetTOProperty methods in your test or function library to set and retrieve the test object property values of the test object.

The GetTOProperty and GetTOProperties methods enable you to retrieve a specific property value or all the properties and values that QuickTest uses to identify an object.

You use the GetROProperty method to retrieve the current value of a test object property from a run-time object in your application.
Reply With Quote
Reply

Tags
interview questions, qtp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On