Posts: 22
Threads: 2
Joined: Jun 2010
Reputation:
0
08-13-2010, 01:53 PM
(This post was last modified: 08-13-2010, 02:10 PM by balaji4u.)
Hi .
What is CAA?
To check the status of any element for instance a button in your case . You have to make sure whether the property of that object is actually enabled by the developer if that is the case you can query that property value and design your scenario.
For instance lets take a particular scenario which should enable a button on a screen on triggering an event, in such case the developer sets the value of that object to be true or false and if you query this property value you will get the answer for your question.
Regards.
Balaji
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-16-2010, 11:06 AM
Code:
set objbutton = browser().page().frame().webbutton()
if objbutton.getroproperty("disabled") then
msgbox "warning"
else
'your function
end if
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
08-18-2010, 07:55 AM
Werent you able to do a replace ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.