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
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 |
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 |
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 |
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 |
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 |
from what stage you will start automation in your project
When ‘option explicit’ keyword is used in qtp?
Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx
Explain script generated at the time of setting runtime property?
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.
How to Compare two database tables by using QTP?Please give me code details.
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.
For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?
how to create external data table?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
How to creating an output value using quicktest professional (qtp)?
several browsers opened. write QTP script to close all browsers except gmail.