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


Please Help Members By Posting Answers For Below Questions

How to find operating system information using the qtp script?

591


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2443


How to run a test using quicktest professional (qtp)?

554


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1621


What is TOM in QTP?

1812






Explain types of output values?

576


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1440


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1676


Explain in brief about the quicktest professional (qtp) automation object model?

581


How can i initiate the objects to find uniquely in OR

1482


QTP script is not working on other's machine..

1547


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1496


What is the significance of “action 0” in qtp?

584


Hi All, How to Compare two strings character by character in QTP

963


How will you report the bug and explain the defect tracking sheet you handled?

2564