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

Answer Posted / raghavender

SetToProperty
It is used to set a vlaue to the property of an object
which is there in the Repository.

eg: browser("").page().webbutton("").setTOProperty
property,value

GetROProperty
This property is used to get the run time proerty of an
object.

eg: strval = Browser("").page("").webbutton
("").getROproperty("name")

GetToProperty:
This property is used to get the particular property value
of an object which is present in the repository.

Eg:strval = Browser("").page("").webButton("").getTOproperty
("name")

SetROProperty is not existing in QTP.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between shared and local object repository?

589


How is the Bitmap checkpoint different from Image checkpoint?

628


How to use the object spy in quicktest professional (qtp) 8.0 version?

515


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

1517


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1447






How to create a standard checkpoint ?

561


Explain how qtp identifies objects?

571


Where can I find and view run-time data table?

531


Explain the terms test and business component?

550


Do you know how to connect database? Can you tell me the procedures?

553


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1548


how to do the batch testing in test director using manual testing procedure?

1778


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

614


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1715


can anyone tell me from where i can download qtp demo or crack version

1625