How to retrieve the property of an object in QTP?

Answers were Sorted based on User's Feedback



How to retrieve the property of an object in QTP?..

Answer / ravichadnranath

using Getroproperty("text") we will find out the what ever
object properties u want other wise by using object spy
also we will get object properties

Is This Answer Correct ?    5 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / kiran.b

gettoproperty("text")

=to get the property from the qtp , which it is using at
run time.
or

getroproperty("text")
=to get the property from the application , which itis at
the run time.

Is This Answer Correct ?    9 Yes 6 No

How to retrieve the property of an object in QTP?..

Answer / rohit

gettoproperty("text")


To get the property from the qtp , which it is using at
run time.

correct me iff i am wrong

Is This Answer Correct ?    4 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / nanda

Kiran is correct..here TO means Test Object and RO means
Runtime Object.

Is This Answer Correct ?    3 Yes 1 No

How to retrieve the property of an object in QTP?..

Answer / prathyusha

To get the property value of run time object we can go for GETROPROPERT..Runtime object means object which is there in application.
To get the property value of test object we can go for GETTOPROPERTY.Test object means the object which is there in repository.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

0 Answers   CTS, Nabard,


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

8 Answers   INCA, Infosys, Logix, SLK Software, Symphony, Wipro,


What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?

2 Answers   TCS,


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,


How to findout the number of spaces with in STRING For Ex : STRING is " RAJ IS A SOFTWARE ENGINEER " Please send me the answer

3 Answers  


how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance

1 Answers  


do you prepared framework,pls answer this

1 Answers  


Why bpt?

0 Answers  


If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test

4 Answers   TCS,


what are the different kinds of frameworks in automation?

2 Answers   Accenture,


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


What is Object Spy?

7 Answers   JKH, Ordain Solutions,


Categories