jump to navigation

A Selenium hint… December 14, 2006

Posted by James Webster in : web, development , trackback

When you are writing your Selenium tests, I highly recommend that you use the ‘verifyXxx’ versions of the assertions rather than the ‘assertXxx’ versions. The ‘verify’ commands still cause the tests to fail however they allow a greater number of failures to be brought to light in a single test run. This saves time later when changes to requirements introduce subtle but broad changes to the expected values that are being asserted. You can observe the changes en-mass rather than one at a time.

Its probably an obvious tip but doubly so in hindsight.

Comments»

no comments yet - be the first?