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 |
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
What is different command used in command Prompt while using QTP?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
Which object repository we use in real time and can we merge 2 object repostiory and how?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
How to connect to oracle(sqlserver) database to QTP
How to make Non reusable actions into reusable action? is that feature available in QTP
What test cases can you automate using QTP?
For Regression testing already written test cases are sufficient?
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?
what are the mandatory properties for a tex boxc (scenario?)
What is the standard timing delay for web based application in qtp?