Whenever we use GETROPROPERTY function.
Answers were Sorted based on User's Feedback
when ever u want to capture the object value on that time
we can use GetROproperty.
RO Property means: Run time Objective propertys
means what are the objective properties that all are know
as RO properties.
for ex we can capture the value in result
window("calc").vbedit("A").set "10"
window("Calc").vbedit("B").set "20"
window("Calc").vbbutton("Add").click
c=window("Calc").vbedit("result").getROproperty("text")
i think this is working properly
if u have any quarries please call me 9823257761
raju.ippali@gmail.com
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / sai krishna reddy.k
You can use the GetROProperty to retrieve the current
property value of objects in your application during the
test run.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / nani4urs
Returns the current value of the test object property from
the object in the application
eg: wn u want to know the value of an object in run time
then we can use the getroproperty.
syntax: getroproperty(browser("nani").page("nani").object
("objectname","value"))
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / sivareddy
"GETROPROPERTY" capture the properties of the object at
the script running postion
Syntax:getroproperty(browser("Siva").page("Siva").object
("objectname","value"))
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / rajaputra
It is used to get the Runtime object property.
By using this we can do Access control testing.
By using this we can know whether the object is
enable/disable OR editable/non-editable
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / softwaretester4u
if window("edit box").Getroproperty("Enabled") Then
perform operations
end if
Getroproperty retrives the values edit box ebaled or not
i think u got some answer if u required more subscribe
testingguru yahoo groups ask ur questions ,panel will
answer ur question
| Is This Answer Correct ? | 5 Yes | 4 No |
GetROProperty is a methods by which user can the runtime value of a particular object while doing test Run.
ex: if user wanted to get value present in a text box.
strTxtValue= Browser("").page("").webEdit("").GetROProperty("value")
| Is This Answer Correct ? | 0 Yes | 0 No |
HOW TO DO THE BATCH TESTING USING QTP?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
How to handle Dynamically changing Objects in QTP?
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
what is the main use of reviews
How can I check if a environment variable exist or not?
what is active screen,keyboard view?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
What is keyword view and Expert view in QTP?
What are the recording modes in qtp?