Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are SetToProperty, SetRoProperty, GetToProperty scripting?

Answers were Sorted based on User's Feedback



What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / manjunathareddy

SetToProperty-Setting the TestObject property in QTP
SetRoProperty- ??
GetRoProperty-Getting the Runtime Property of an test Object
GetToProperty-Getting the values of test Objects strored in OR.

Is This Answer Correct ?    2 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / prasanna

settoproperty()-->used to set the value of particular
property of an object in OR./change the existing property
of an object in OR in runtime temporarly.
GETTOPEOPERTY()-->get the current value of properties&
values that stored in OR.
GETROPROPERTY()-->get the runtime property of an object

Is This Answer Correct ?    2 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / kishan

Sorry a small Correction guys to my earlier answer. There is
no Property like "SetROProperty". But we have only Set
method like mentioned below

Browser().Page().webEdit("uname").set "reddy"

This stmt will change the "Value" Property of "uname" object.

other properties:
_________________
SetToProperty:sets a Property value to a Test Object
GetTOProperty:reads a property value of an Test Object
GetROproperty:reads a property value from a Run time object

Is This Answer Correct ?    0 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / kishan

There is no Property like "SetTOProperty". But we have only
Set method

Browser().Page().webEdit("uname").set "reddy"

This stmt will change the (Native or) Runtime Property
"value" or "text" or "name" Property of "uname" object in the
OR. Thus we have set one property value to any object.


As Manunath Said, all the other properties and their purpose
is correct.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is QTP scenario.

0 Answers   Persistent,


If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  


How to get the run time object property without using GetROProperty

4 Answers  


I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.

5 Answers  


What is a data driven test in qtp?

0 Answers  


What is quick test pro? What is a quick test professional?

0 Answers  


In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??

5 Answers   HCL,


What is BPT?

2 Answers   Allied Group,


How is a Step generator used in UFT?

0 Answers  


we have 5 default properties we want add more Default property in Object Repository how to add the property

2 Answers   Nous,


Tell me the QTP Advantages and Disadvatages ?

6 Answers   Accenture, CTS, GE,


Howcan you differentiate between Exist statement, Exist property, and Exist method??? How they used???

2 Answers   IBM,


Categories