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

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -