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 Testing<br />

1.10.1 Selenium Overview<br />

• In-browser, functional testing<br />

• Tests are straightforward to write<br />

– Even “client-safe”<br />

• Running tests is esay and graphical<br />

• Uses JavaScript<br />

1.10.2 Selenium Concepts<br />

• Actions<br />

• Checks<br />

• Element Locators<br />

1.10.3 Selenium Locators<br />

• Identifier (id then name)<br />

• DOM<br />

• XPath<br />

• Link Text<br />

– requires prefix<br />

50

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

Saved successfully!

Ooh no, something went wrong!