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

What are the common defects found in your project? (in qtp interview)

1613


desribe a situation where u faced a stressful situation and how did u cope with it

1404


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1416


what are the utilities and drivers

1840






In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1418


why should we give deliver good quality software?

1626


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1579


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2753


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1567


how will you load the test cases in ddt?

1595


How many number of actions possible in qtp?

600


How to delete an object from the object repository?

589


How many types of parameters are available in quicktest professional (qtp)?

583


What are the different types of qtp test assets and their extensions?

594