27.01.2015 Views

Best Practices of Plone Development

Best Practices of Plone Development

Best Practices of Plone Development

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.10 Testing 1 BEST PRACTICES FOR PLONE DEVELOPMENT<br />

1.10.4 Selenium Actions<br />

• open<br />

• click<br />

• type<br />

• select<br />

• And more<br />

– Including “...AndWait” versions<br />

1.10.5 Selenium Checks<br />

• assert vs. verify<br />

– Assert stops the test on failure<br />

• verifyLocation<br />

– Are we at the right URL<br />

• verifyTitle<br />

• verifyElementPresent<br />

1.10.6 Selenium Form Checks<br />

• verifyValue<br />

– Checks value <strong>of</strong> INPUT<br />

• verifySelected<br />

– Checks value <strong>of</strong> SELECT<br />

51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!