Jubula API Tutorial

UI test automation: the why, the how and the what

Alexandra Schladebeck, BREDEX GmbH

Markus Tiede, Baloise Insurance

Agenda

a few bits of theory

Jubula API hands on

short coffee break

equivalence classes

summary

Testing 101

  • Testing is important so that we can gain information about quality and risk
  • A balanced test strategy involves tests at different levels
  • Prompt feedback is important for continuing development
  • Automation can help us with recurring tasks
  • So that testers and developers can use their brains for interesting and complex activities

Jubula – the elevator pitch

  • Functional tests through the UI
  • Swing, SWT/RCP, JavaFX and HTML
  • No programming knowledge required*

Jubula – Use

  1. Regression tests
  2. Automation of otherwise manual test cases
  3. Acceptance-level tests (business- or customer-facing)

Jubula – Aims

  1. Whole team involved in quality and test process
  2. Use in agile processes
  3. No capture-replay!

No programming knowledge?

  • With the Integrated Test Environment (ITE)
    1. Code-free approach - Drag&Drop test specification
    2. Automatic test reporting, screenshot on error
    3. Error handling, JaCoCo, ALM Integration
  • With the Client-API
    1. Jubula actions callable directly in Java
    2. Application Under Test (AUT) lifecycle control
    3. Reporting and error handling driven by e.g. JUnit