what are SetToProperty, SetROProperty,GetToproperty
scripting?
Answers were Sorted based on User's Feedback
Answer / rekha
SetTOProperty – Basically is used to modify the properties
of current Test Object during run session without
permanently modifying the Properties. In short the changed
Properties would be applicable for the present run Session
alone.
Object.SetTOProperty Property, Value
GetTOProperty – A GetTOProperty method is used to retrieve
the value of a Test Object Property. Basically during a Run
Session, incase we need to find out the Property value for
any TestObject we use this method. It does not consider the
properties of the Object as displayed in the Application at
runtime.
VariableName = Browser(“”).Page(“”).WebEdit
(“”).GetTOProperty (“Name”)
A GetROProperty method is used to retrieve the Runtime
properties of an Object as displayed in an application. We
can retrieve the Current value of a Property for
TestObject. It is used to retrieve only Runtime properties.
A Set Property can be used to set a value to any variable
or set the Property value of any Object.
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / vince.shu
There is a Object Repository in QTP for every test we
created, Every Object Repository has Test Objects for QTP
to recognize Objects we recorded in test.
every test object has properties
like "width","title","text"....... and Objects also have
Run time Properties when test is running.
The Get/SetToProperty means we can Get/set the Test
Objects' Property in Object Repository.
The SetRoProperty means we can set Object's Runtime Property
Is This Answer Correct ? | 3 Yes | 0 No |
In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?
Tell when we call the function? tell with example.
Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...
Suppose u write test case in Excel sheet . how u open that test case in Test Director?
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
How to creating an output value using quicktest professional (qtp)?
Suppose i have given 10 test cases all the test cases should be automated?
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail
How Does Run time data (Parameterization) is handled in QTP?
How many ways we can parameterize data in QTP ?
How many add-ins comes by default with quicktest professional?