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
What is difference between shared and local object repository?
How is the Bitmap checkpoint different from Image checkpoint?
How to use the object spy in quicktest professional (qtp) 8.0 version?
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.
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.
How to create a standard checkpoint ?
Explain how qtp identifies objects?
Where can I find and view run-time data table?
Explain the terms test and business component?
Do you know how to connect database? Can you tell me the procedures?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
how to do the batch testing in test director using manual testing procedure?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
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
can anyone tell me from where i can download qtp demo or crack version