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

suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?

2 Answers   Wipro,


what is output parameters in qtp?explain? 2)

2 Answers   Span Infotech, TCS,


What contains Data Driven Framework document in qtp?

0 Answers  


How to add Dynamic Objects to Object repository?

5 Answers  


What is the extension of script and object repositary files?

2 Answers  






dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards

1 Answers  


Hi,i have 3 years of experience in manual and Automation qtp.present i am searching for job in automation qtp 2Yrs,How to Explain the interviwer Roles and Responsibilites.please help me.

1 Answers  


Definationions for keyword view and tree view?

1 Answers  


If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?

4 Answers  


what is L-trim function will do?

2 Answers  


What are the factors on which script execution time is dependent?

0 Answers  


when will you do debug your script? and explain that process?

0 Answers   Covansys,


Categories