cucumber - How can I determine if a radio button is checked already? -


I am using webrat with cucumber and I would like to test if a radio button is already being checked When i am on a page How can I do that? There was no move in Ibrat who could do that.

  find_field ("radio_button_name"). May be checked  

or in the new syntax:

  Expected (find_field ("radio_button_name")). Check  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -