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

What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example

2 Answers  


Can we select add ins in UFT during run time

1 Answers   NIIT,


Among all the check points what is the most important checkpoint?

1 Answers  


Hi Friends,will any body tell to Me for which Auomation Tool their is great Requirement inht eMarket Eithr the QTP or WINRUNNER and for what reason and how long it is going to remain and wat the Scope for the automation Testing In the Future Please tll to Me In Details Ok .

2 Answers  


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,






What is smart identification?

2 Answers   Ordain Solutions,


What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??

3 Answers   DST Global Solutions,


how to test background color and dynamic images during runtime

4 Answers   Accenture, Oracle,


What is the Major difference between QTP ; LoadRunner? If u want to test an 1. erp module which automation tool you would prefer and why? and 2. for web application, which tool and why?

2 Answers   Satyam,


I came across Good question ..... Write a script to only download pdf's if there are 20 links on a page. Kindly reply these type of questions are pretty challenging..

4 Answers   Keane India Ltd,


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

2 Answers   AppLabs,


What are the different types of recording modes in qtp? Which will be used when?

0 Answers  


Categories