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
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How to find the difference between 2 dates in qtp?
What is qtpro? What is quick test pro? What is a quick test professional?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What are the features and benefits of quick test pro (qtp 8.0)?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
How you can decide which type of object repository you have to use?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Why is Client side image is preferred over server side image?
How to associate shared object repository to test in qtp?
what function you write to do database testing with the help of qtp?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
What is data driver in qtp?