Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

what is option explicit?

5 Answers  


how you have used object libraries? plzzzzz do answer

1 Answers  


how would you go for testing a web application like any jobsite?(using manual n qtp)..pls frnds its very urgent ..i need realtime answers...thanks in advance

2 Answers   Wipro,


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

0 Answers   Accenture,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,






tell me abt a time when u had to go above &beyind the call of duty to get the job done

0 Answers  


What are the advantages of Automation objects than Test Objects?

2 Answers   Adobe,


What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  


Why use Regular Expressions?

1 Answers  


Is there any thing that we can replace recovery scenario manager in QTP.

3 Answers  


What is difference between QC and TD?

8 Answers  


A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key

3 Answers   Virtusa,






Categories