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 |
how to invoke the web application through script in qtp
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework?
LINUX environment supports QTP or not? LINUX environment supports QC or not?
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com
Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .
If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
what is description object?
What is Parameterizing Tests?
why use Description programming? what is advantages and disadvantage of this methods?
four browser are open same application i want to enter 3browser how?
Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )