Wong Liang Zan

« Back to posts
  • Viewed
    times

Filed under

  • Rails
  • Software
  • cucumber culerity rails
April 7, 2010

Test for blank elements with Culerity-Cucumber

  • Edit
  • Delete
  • Tags
  • Autopost
When you need to test for blank elements on Culerity, it is better to parse the html. Using Celerity helper methods such as $browser.button will return a Culerity::RemoteObjectProxy object. It does not tell you if it found an element or not. It is a limitation of Culerity. To work around it try this: You can use the above code in the step definitions.
  • 0 responses
  • Like
  • Comment