Jekyll and Hyde with Jubula - ECE2015 Agenda Introductionsand motivation Dr Jekyll: the Jubula ITE Mr Hyde: the Jubula Client API 04.11.15 Jekyll and Hyde with Jubula

  • View
    220

  • Download
    7

Embed Size (px)

Transcript

  • 1

    Jekyll and Hyde with Jubula

    Alex SchladebeckMarkus Tiede

    BREDEX GmbH

    04.11.15

    http://www.freedigitalphotos.net artur84 ID 100161961

  • 2

    AgendaIntroductions and motivationDr Jekyll: the Jubula ITEMr Hyde: the Jubula Client API

    04.11.15 Jekyll and Hyde with Jubula

  • 3

    Introductions

    04.11.15 Jekyll and Hyde with Jubula

  • 4

    Why do we test?

    04.11.15 Jekyll and Hyde with Jubulahttp://www.freeimages.com brainlocID 418215

  • 5

    Why do we automate tests?

    04.11.15 Jekyll and Hyde with Jubula

    http://www.freedigitalphotos.net Chaiwat 100300308

  • 6

    Automating tests with JubulaCode-free functional (black box) testing Swing, SWT/RCP/GEF, HTML, iOS, JavaFX

    Tests through the GUI No / minimal difference to manual test All layers tested Use cases, workflows: begins with requirements Intelligent and well-structured tests

    Communication! Whole team involvement Continuous Integration = Continuous Information

    Why cant we also write code?

    04.11.15 Jekyll and Hyde with Jubula

  • 7

    CAP: the quintessence of automation

    04.11.15 Jekyll and Hyde with Jubula

    Into the username field, enter admin

    CAP (Test Step)Component Action Parameter(Which) (What) (How)

    http://www.freedigitalphotos.net Stuart Miles 100146476

  • 8

    Demo ITE

    04.11.15 Jekyll and Hyde with Jubula

  • 904.11.15 Jekyll and Hyde with Jubula

    "Janus-Vatican" by Fubar Obfusco - Foto taken himself. Licensed under Public Domain via Wikimedia Commonshttp://commons.wikimedia.org/wiki/File:Janus-Vatican.JPG#mediaviewer/File:Janus-Vatican.JPG

    JubulaITE

    Create test

    Add data

    Add components

    Do mapping

    Execute

    Analyse

    JubulaClient API

    Java API

    Jubulas Core

    Raw low-level

    AUT lifecycleexecute CAPs

  • 10

    Lets spend some time with Mr Hyde

    04.11.15 Jekyll and Hyde with Jubula

  • 11

    Lets spend some time with Mr Hyde

    04.11.15 Jekyll and Hyde with Jubula

  • 12

    Lets spend some time with Mr Hyde

    04.11.15 Jekyll and Hyde with Jubula

  • 13

    Lets spend some time with Mr Hyde

    04.11.15 Jekyll and Hyde with Jubula

  • 14

    The AUTs lifecycle

    04.11.15 Jekyll and Hyde with Jubula

  • 15

    The AUTs lifecycle

    04.11.15 Jekyll and Hyde with Jubula

  • 16

    The AUTs lifecycle

    04.11.15 Jekyll and Hyde with Jubula

  • 17

    Accessing a UI component

    04.11.15 Jekyll and Hyde with Jubula

  • 18

    Accessing a UI component

    04.11.15 Jekyll and Hyde with Jubula

  • 19

    Accessing a UI component

    04.11.15 Jekyll and Hyde with Jubula

  • 20

    Accessing a UI component

    04.11.15 Jekyll and Hyde with Jubula

    UI component proxy instances factories for executable CAPs searched when CAPs getting executed

  • 21

    Available for all toolkits

    04.11.15 Jekyll and Hyde with Jubula

  • 22

    200+ CAPs / Test Steps

    04.11.15 Jekyll and Hyde with Jubula

  • 23

    Executing CAPs

    04.11.15 Jekyll and Hyde with Jubula

  • 24

    Executing CAPs

    04.11.15 Jekyll and Hyde with Jubula

  • 25

    Executing CAPs

    04.11.15 Jekyll and Hyde with Jubula

  • 26

    Demo API

    04.11.15 Jekyll and Hyde with Jubula

  • 27

    Some factsJava 6+Exceptions for execution eventsConsumable in different flavors plain JARs Maven artifacts from m2-repo OSGi bundlesSmall footprint ~2MBAvailable since Mars Standalone version: http://testing.bredex.de

    04.11.15 Jekyll and Hyde with Jubula

  • 28

    Whats happened since Mars?New RC features: New actions for:

    GEF JavaFX HTML SWT/RCP

    New ITE features: Quicker test result

    report opening Updates for JavaFX

    Autrun Code coverage New mapping options

    New client API features: Custom UI controls GEF via the API Taking screenshots Partial export of

    object mapping from the ITE more example

    scenarios

    04.11.15 Jekyll and Hyde with Jubula

  • 29

    Dual personalitiesJubula ITE Code-free

    + test design Communication Offers shiny extras

    ALM Test result reports BIRT

    Jubula Client API Very code-y

    + coding practices ;) Communication Offers shiny features

    Complex test flows Use the world of Java Integration into SCM

    04.11.15 Jekyll and Hyde with Jubula

    Choose your poison!