what are SetToProperty, SetROProperty,GetToproperty
scripting?

Answers were Sorted based on User's Feedback



what are SetToProperty, SetROProperty,GetToproperty scripting?..

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

what are SetToProperty, SetROProperty,GetToproperty scripting?..

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

Post New Answer

More QTP Interview Questions

Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.

6 Answers   GE,


can any one say that where we can download the QTP trail version ??????????

0 Answers  


Hi all, what is the latest version of QTP?

20 Answers   CTS,


there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..

10 Answers   HealthAsyst,


Hi, i am mallishwari, i am veryn ew to testing but i have very much interest in testing. plse give me some guidence to get the job in testing. send me required documents and faqs to my personal id: mallishwari_urs@yahoo.co.in thans for advance.

2 Answers  


Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.

4 Answers   MBT,


Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .

1 Answers   AppLabs,


How do u write script in qtp? where do u write?

2 Answers  


what are build and version plz explain why nomber changes in build and version?

3 Answers  


I have one question as HP QTP is concern, Please send your answers..... Can we do testing of any application without using any of the framework which are we used in QTP tool. If yes then how it can be possible in the HP QTP tool. -- Regards

5 Answers   ABC,


HOW TO DO THE BATCH TESTING USING QTP?

8 Answers   CTS,


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


Categories