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...

Hi. plz expalin abouit SetToProperty, SetRoProperty,
GetToProperty, GetRoProperty,GetToPrperties. with examples.

Answer Posted / prathyusha

We don't have any SetRoProperty in QTP

We do have only SetTOProperty,GetRoProperty,GetToProperty,GetToProperties.

SetToProperty-- is used to update the property value of a test object but that updation will be only temporary.
B().P().WebButton().SetToPropery "Name","OK"

GetRoProperty-- Is used to get the property value of RuntimeObject
msgbox B().P().WebElement().GetRoPropery("inner text")

GetToPropery-- To get the property value of test object
B().P().WebEdit().GetToProperty("value")

GetToProperties-- To get the property values of all test object.It returns the collection

set allprops=B().P().webedit().GetToProperties
msgbox allprops.count

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different type of event trigger option.

911


What is the default add-ins in qtp?

918


What are the different types of functions available in qtp and explain ?

959


What is qtpro?

997


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3808


Can we Test Welcome Screens and Process Images with QTP

1877


What is the basic concept of quicktest professional (qtp)?

1000


What is an optional step in qtp ?

1108


How do you synchronization point through DP?

1010


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2655


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1496


How to record a qtp script ?

985


What are the trigger events in qtp?

1043


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1855


Define Environment Variable in UFT and its uses?

995