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 |
What all challenges you have faced during automation and how you have resolved it?
what is smart identification?
Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
draw the qtp frame work?
Hi Samrat, Thank u very much, what u said it is right.
How to execute a winrunner script in quicktest professional?
Explain the concept of how QTP identifies object.
Hi, how can we check or avoid the memory leakage in QTP9.2?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage