Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Test Suite Workshop

jenadevs
September 25, 2016

Test Suite Workshop

Workshop by Benjamin Nothdurft

Many shapes of Testing - Talks and Workshops for all stakeholders:
http://www.meetup.com/jenadevs/events/233891434/

jenadevs

September 25, 2016
Tweet

More Decks by jenadevs

Other Decks in Programming

Transcript

  1. Motivation Reasons for automated standard test cases Keep your head

    free for testing of chosen features Focus on pain points of special cases Get a fast quality statement on your basic processes Stabilize your builds with solid regression tests and build integration Support for project life cycle and reduce risks of failure Initial development New features Hotfixes​
  2. Test Suites Basic Idea ​Simulate behaviour of a user (via

    browser automation) Test standard functionality Cover different test paths Focus on business critical parts Typical Structure Page Object Pattern with modularization (groups of commands) Test cases/scripts (grouped by domain area)
  3. Browser Automation GUI Tools - (Firefox) - (Firefox) Based on

    Selenium : Actions, Accessors, Assertions Supportive Tools (Firefox) Developer Tools (Chrome) Selenium IDE - EN DE XLT Script Developer - EN DE Selenium WebDriver Selenese Commands Firebug
  4. Suggestion Selenide ( ) Selenide : with Cucumber (BDD): Selenide

    vs Selenium 2 Documentation Page Objects github.com/jenadevs/selenide-cucumber Alternatives Selenium: , , BDD: , XLT Framework WebTester Protractor Serenity JGiven
  5. DOM, HTML, CSS Selectors, JS, XPath W3C W3C , W3C

    , , W3C , W3C , , W3C W3Schools W3Schools W3Schools , W3Schools , W3Schools DOM TR HTML & CSS Portal HTML TR CSS Portal CSS TR CSS Selectors TR Javascript Portal JS All XPath All XPath TR XPath Functions TR XML Portal Tutorials, References, Examples HTML CSS CSS Selectors JavaScript Reference JavaScript Regexp XPath, XQuery and XSLT Functions Other Selenium , RegEx Docs RegEx Quickstart