Checking if an element/button is enabled or disabled

31 views
Skip to first unread message

DanAngelus

unread,
Feb 28, 2011, 8:39:04 AM2/28/11
to Fitnium
Hi,

I've looked through the APIs in the FitniumUserGuide and can't seem to
find a way to check if a button or element is enabled or disabled. I'm
looking for something like this:

| Check | is button enabled | next_button |

Any help would be appreciated.

Thanks

Dan

Keith Sterling

unread,
Mar 1, 2011, 2:59:40 PM3/1/11
to Fitnium
Hi Dan

You are 100% right the API is not there in Fitnium, looks like its
time we added it

I've done some checking and it looks like this is because its really
an html attribute but I've also found a couple of Selenium RC examples
of how to check so I'll look at adding it in the next couple of days

Now that my real work load is lighter I'll bundle this up with a new
release which will also include the Selenium IDE to Fitnium converter
for every one else

Keith

danan...@gmail.com

unread,
Mar 1, 2011, 4:02:31 PM3/1/11
to fit...@googlegroups.com
Excellent Keith, thanks. I'll look forward to that.

Dan

Hi Dan

Keith

--
You received this message because you are subscribed to the Google
Groups "Fitnium" group.
To post to this group, send email to fit...@googlegroups.com
To unsubscribe from this group, send email to
fitnium+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fitnium?hl=en

Fitnium is hosted at
http://www.magneticreason.com/tools/fitnium/fitnium.html

DanAngelus

unread,
Mar 14, 2011, 4:59:33 AM3/14/11
to Fitnium
Hi Keith,

Is there any update on this?

Thanks
Dan

Jijo Thomas K

unread,
Apr 13, 2011, 9:14:00 AM4/13/11
to Fitnium

Hi Dan,

We can check input fields like Button , List and Checkbox enabled or
not using,

| check | input field | <give id of the element> | is Editable |
false |

This will verify whether the given element is disabled

Eg: | check | input field | newCatButton | is Editable | true |



Thanks and regards,
Jijo Thomas K

Keith Sterling

unread,
Apr 18, 2011, 6:22:10 AM4/18/11
to Fitnium
Fitnium 2.1.1 is about to be released which will include the API

| is element | locator | enabled |

This can then be used as

| check | is element | locator | enabled | false or true |

Just going through final testing and should be released later today

2.2 Will then follow shortly afterwards which will contain a beta
version of Selenese to Fitnium converter

Sorry for the delay, finally got some free time to work on the project
Reply all
Reply to author
Forward
0 new messages