Getting elements by ID for UI testing
We're in the process of adding UI tests to our project with Cucumber
and Capybara and it's been a little cumbersome trying to access
textboxes with xpath expressions. I've searched on the board and found
a way of manually adding IDs to elements with the DOM but I don't like
the idea of adding these to the DOM solely for the purpose of testing.
Is there another alternative to accessing elements with a UI testing
framework without using xpath and without having to manually add IDs
to fields?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home