setroproperty and getroproperty difference
Answer Posted / noor
GetRO Property is used for retrieving the property of an
runtime object
For Example
To get whether button is enabled or not.
Val = Browser("Browser name").Page("Page name").WebButton
("Login").GetROProperty("disabled")
To get whether a checkbox is on or off.
Val = browser("Browser name").Page("Page name").WebCheckBox
("Test").GetROProperty("Value")
SetRo propert for modifying the property of an object
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Explain QTP using different development techniques ?
With what extension you can save the list of tests in a file to run in test batch runner?
What is the difference between the keyword view and expert view?
What are the different types of action?
How to check feasibility of the appliction?in automation testing?
How to use debug tools?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
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.
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
How to execute a winrunner script in quicktest professional?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
How do know the number of browsers opened?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
what is ODC and GDC?