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 -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -