Could some one help me the difference between GetTOProperty
and SetTOProperty and when we will use these properties. and
what is meant by SetToProperties..

Answers were Sorted based on User's Feedback



Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use ..

Answer / sreekanth chilam

I hope Jyothirmai's answer is not right....

Actually GETTOProperty stands for "Get Test Object
Property".

All the objects which are identified & stored in Object
repository by QTP during design time are "Test Objects"

In order to retrieve the above test object's properties ---
we will use GETTOProperty method.

seTOProperty Stands for "Set Test Object Property".
For the above test object, if we want to change the
property values during run time(Only)...then we will use
this "setTOProperty"

Is This Answer Correct ?    7 Yes 0 No

Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use ..

Answer / sudeepthz

Thanks Jyotirmai. and i have one more question that when we
will use this get visible Text property??

Is This Answer Correct ?    0 Yes 0 No

Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use ..

Answer / king

TO - means text objective properties.

1). GetToProperty --
i will one example one "OK" button is there that button
contain some some properties i.e., 24 properties but some
of mandatory properties are stored in to the OR. (Like
native class, button)

If u wants to know any property of that "OK" button u can
get this GetTOProperty method.

2). SetToProperties--
for example the "OK" button 2 mandatory properties are
stored in OR. if u want to add one more property at Run
Time that is temporarily. you can set the property using
SetToProperties method.

i hope this is Right answer....
if this is wrong plz let me know...
plz mail me gi_raju@hotmail.com

Is This Answer Correct ?    0 Yes 0 No

Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use ..

Answer / raghu

GET TO property is used to get the TEXT OBJECT Property
value of an object at the time of execution.
SET TO property is used to change the property valu of an
object at the time of execution.

Is This Answer Correct ?    0 Yes 0 No

Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use ..

Answer / jyothirmai

In the application some values get changed in run-time, if
you want to get those values we will use GetToProperty.
And at the same time if we want to set the propertiy of
any object we will use this SetToProperty

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

I want some banking domain projects where can i get this projects ( anybody can help me plz)

3 Answers  


I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.

5 Answers  


When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason

0 Answers  


Hi, Can any one explain what is mean by Driver Script? is it AOM?

4 Answers   CTS,


anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com

1 Answers  






can objects recogonised without repository?

10 Answers   AZTEC,


Where you get the run time data table?

0 Answers  


What is the difference between QTP 8.2 and QTP 9.2

1 Answers  


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

0 Answers  


What’s the basic concept of QTP?

1 Answers  


Can any one send me the QTP Basic Coding Samples?

0 Answers  


Categories