SlideShare una empresa de Scribd logo
1 de 17
1
TESTING
REALITY
REAL USERS, REAL DEVICES, REAL
TIME
Powered by Crowd & Cloud Technologies
A complete Selenium Techstack –
From conception to evaluation with open source software
2
Test Automation
Test Automation at a glance
Test Design Test Development
Test Execution Test Evaluation
3
Legibility
Accelerates error
analysis, ensures
broad common
understanding and thus
promotes cooperation.
1
Test Design
The Challenges
Reusability
Reduces potential
sources of error,
improves overall
maintainability and
increases scalability.
Abstraction from the test
object
Using declarative instead
of imperative test case
descriptions shifts focus to
functional rather than
technical aspects.
Structure
Promotes logical structure,
for example by
precondition, action and
assurance. 2
4
3
4
Test Design
Tools in our stack
Legibility
• BDD with Cucumber
• Human-readable test specification thanks to Gherkin Syntax
• Involves the entire team, from tester to developer to PO
Reusability
• Step Definitions by Gherkin Syntax
• Flexibly combinable
Structure
• Logical structure according to Given - When - Then thanks to Gherkin template
• Supplementary explanations with the help of narratives
Abstraction from the test object
• Gherkin as a natural additional level of abstraction
5
Test Automation
Test Automation at a glance
Test Design
●Legibility
●Structure
●Reusability
●Abstraction from the test object
Gherkin Syntax as an interface
Test Development
Test Execution Test Evaluation
6
Stability
Reduces the number of
so-called false
negatives, speeds up
individual test runs.
1
Test Development
The Challenges
Best Practices
Prevents the use of bad
practices (such as static
waits), promotes good
practices such as the
Page Object Pattern.
Reusability
Reduces potential sources
of error, improves overall
maintainability and
increases scalability.
2
3
7
Test Development
Tools in our stack
Reusability
• Selenium Browser Testing with Selenide
• Simplest test configuration
• User-friendly session and driver management
• Always updated framework methods
Stability
• Cross-browser proven framework methods
• Possibility to communicate directly with the backend
Best Practices
• Implicit, globally configurable timeouts before each operation
• Native page object integration
• Integrated error handling, screenshots and DOM dumps
8
Test Automation
Test Automation at a glance
Test Design
●Legibility
●Structure
●Reusability
●Abstraction from the test object
Gherkin Syntax as an interface
Test Development
●Simple code with clear structure
●Stable Selenium framework
●Best Practices
Selenide Framework, Best Practices
Test Execution Test Evaluation
9
Predictability
Event and time based
execution of E2E tests
1
Test Execution
The Challenges
Connecting data
Execution of the E2E tests
only after successful build
(including execution of the
unit tests) and deployment
on the test environment.
Parameterizability
Execution of the same test
suite in different test
environments and in
different browser operating
system combinations.
2
3
10
Test Execution
Tools in our stack
Execution of the tests in an independent system (Continuous Integration, CI)
• Jenkins with Jenkins Pipelines
• Parameterization of the pipelines in Jenkinsfile incl. schedule possible
• Own projects as required for special test runs (e.g. nightly-main-browsers)
Loose coupling of product and test development
• Jenkinsfile in every git on every branch
• Parameterization allows easy coupling, e.g. the URL (staging-123.tests.local)
Backgrounds and benefits of this tool choice
• Test development of unit tests is part of every feature
• E2E tests can "hang behind" for time / cost reasons or achieve less coverage
• Jenkinsfiles in Git define the complete build - (almost) no configuration in Jenkins
11
Test Automation
Test Automation at a glance
Test Design
●Legibility
●Structure
●Reusability
●Abstraction from the test object
Gherkin Syntax as an interface
Test Development
●Simple code with clear structure
●Stable Selenium framework
●Best Practices
Selenide Framework, Best Practices
Test Execution
●Smoke tests after each build
●Time-controlled long test runs
●Parameterization of builds
●Different test environments
Jenkins Pipeline
Test Evaluation
12
Assessability
Freely determinable
evaluation and error
category of test run
errors, automatic
assignment for
frequently recurring
errors.
1
Test Evaluation
The Challenges
Analysability
Integration of stack
traces, error logs,
screenshots and video
recordings, link to
specification and issue
trackers.
Visualizability
Graphical processing of
test results, configurable
dashboards, automatic
error notifications.
Structurability
Sensible grouping of test
results by product version,
test environment and
browser operating system
combination. 2
4
3
13
Test Evaluation
Tools in our stack
Example: 200 test cases from 10 feature groups of a web portal (horizontal in the matrix)
Test runs on all common desktop browsers (vertical)
• Win 10: IE11, Edge, Chrome, Firefox, Firefox ESR
• macOS: Safari, Chrome, Firefox, Firefox ESR
• Win 7: IE11 (strong OS dependency)
• = 10 Test environments/Browser
→ 200x10 matrix with 2,000 test results per test environment
5 feature branches + Staging = 6 branches / environments to be tested
= 12,000 test results per night
14
Test Evaluation
Tools in our stack
Many tests, a lot of data → Jenkins plugins or similar often inadequate
• Own tool for the evaluation of all test runs and statistical correlation
• Delivery of additional data to the tool (not just junit-results.xml)
• Integration of test or system specific data by the test code, e.g. Resolve UUID error in backend and
extract stacktrace
Statistically, errors occur even with very good stability of the system
• Quote of a developer: "The system has to recognize outliers easily!“
• Solution: "AI" or automatic data analysis with machine learning
• Tags, feedback from users and more data feed the system ​​for future analysis
• Checks of system availability
reportportal.io provides many of the desired functions here
• Automated analysis and easy integration into the test suite
• Dashboards and clear UI
15
Test Automation
Test Automation at a glance
Test Design
●Legibility
●Structure
●Reusability
●Abstraction from the test object
Gherkin Syntax as an interface
Test Development
●Simple code with clear structure
●Stable Selenium framework
●Best Practices
Selenide Framework, Best Practices
Test Execution
●Smoke tests after each build
●Time-controlled long test runs
●Parameterization of builds
●Different test environments
Jenkins Pipeline
Test Evaluation
●Correlation with past tests
●Extension of the reports
●Screenshots, Backend information
●Automated analysis
reportportal.io with connection in the code
16
Live Demo
GitHub: https://github.com/Testbirds-GmbH/selenium-techstack
17
Contact
Felix Kuperjans
Felix Kuperjans | Technical Lead Device Cloud
Testbirds GmbH | Radlkoferstraße 2 | 81373 Munich
+49 89 856 33 35 – 0
f.kuperjans@testbirds.de

Más contenido relacionado

Similar a 190711_Testbirds_Selenium_eclipsecon_FINAL_0.ppt

C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010TEST Huddle
 
MyHeritage - QA Automations in a Continuous Deployment environment
MyHeritage -  QA Automations in a Continuous Deployment environmentMyHeritage -  QA Automations in a Continuous Deployment environment
MyHeritage - QA Automations in a Continuous Deployment environmentMatanGoren
 
Test it! Unit, mocking and in-container Meet Arquillian!
Test it! Unit, mocking and in-container Meet Arquillian!Test it! Unit, mocking and in-container Meet Arquillian!
Test it! Unit, mocking and in-container Meet Arquillian!Ivan Ivanov
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
 
#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation FrameworkAgile Testing Alliance
 
Automated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesAutomated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesTao Xie
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)CIVEL Benoit
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1CIVEL Benoit
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsNenad Bozic
 
Level Up Your Integration Testing With Testcontainers
Level Up Your Integration Testing With TestcontainersLevel Up Your Integration Testing With Testcontainers
Level Up Your Integration Testing With TestcontainersVMware Tanzu
 
Test parallelization using Jenkins
Test parallelization using JenkinsTest parallelization using Jenkins
Test parallelization using JenkinsRogue Wave Software
 
Presentation sem 1.pptx
Presentation sem 1.pptxPresentation sem 1.pptx
Presentation sem 1.pptxdendi65
 
May: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and ChallengesMay: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and ChallengesTriTAUG
 
Testing Microservices
Testing MicroservicesTesting Microservices
Testing MicroservicesNathan Jones
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testingmikereedell
 
StarWest 2019 - End to end testing: Stupid or Legit?
StarWest 2019 - End to end testing: Stupid or Legit?StarWest 2019 - End to end testing: Stupid or Legit?
StarWest 2019 - End to end testing: Stupid or Legit?mabl
 

Similar a 190711_Testbirds_Selenium_eclipsecon_FINAL_0.ppt (20)

C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
 
MyHeritage - QA Automations in a Continuous Deployment environment
MyHeritage -  QA Automations in a Continuous Deployment environmentMyHeritage -  QA Automations in a Continuous Deployment environment
MyHeritage - QA Automations in a Continuous Deployment environment
 
Selenium
SeleniumSelenium
Selenium
 
Test it! Unit, mocking and in-container Meet Arquillian!
Test it! Unit, mocking and in-container Meet Arquillian!Test it! Unit, mocking and in-container Meet Arquillian!
Test it! Unit, mocking and in-container Meet Arquillian!
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Automated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and ChallengesAutomated Developer Testing: Achievements and Challenges
Automated Developer Testing: Achievements and Challenges
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful Applications
 
Level Up Your Integration Testing With Testcontainers
Level Up Your Integration Testing With TestcontainersLevel Up Your Integration Testing With Testcontainers
Level Up Your Integration Testing With Testcontainers
 
Test parallelization using Jenkins
Test parallelization using JenkinsTest parallelization using Jenkins
Test parallelization using Jenkins
 
Presentation sem 1.pptx
Presentation sem 1.pptxPresentation sem 1.pptx
Presentation sem 1.pptx
 
May: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and ChallengesMay: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and Challenges
 
Testing Microservices
Testing MicroservicesTesting Microservices
Testing Microservices
 
Case Study – Regression Testing (Online Exam Software)
Case Study – Regression Testing (Online Exam Software)Case Study – Regression Testing (Online Exam Software)
Case Study – Regression Testing (Online Exam Software)
 
Selenium
SeleniumSelenium
Selenium
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
 
StarWest 2019 - End to end testing: Stupid or Legit?
StarWest 2019 - End to end testing: Stupid or Legit?StarWest 2019 - End to end testing: Stupid or Legit?
StarWest 2019 - End to end testing: Stupid or Legit?
 

Último

Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Mint Automotive
 
Building a Future Where Everyone Can Ride and Drive Electric by Bridget Gilmore
Building a Future Where Everyone Can Ride and Drive Electric by Bridget GilmoreBuilding a Future Where Everyone Can Ride and Drive Electric by Bridget Gilmore
Building a Future Where Everyone Can Ride and Drive Electric by Bridget GilmoreForth
 
A Comprehensive Exploration of the Components and Parts Found in Diesel Engines
A Comprehensive Exploration of the Components and Parts Found in Diesel EnginesA Comprehensive Exploration of the Components and Parts Found in Diesel Engines
A Comprehensive Exploration of the Components and Parts Found in Diesel EnginesROJANE BERNAS, PhD.
 
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESsriharshaganjam1
 
Mastering Mercedes Engine Care Top Tips for Rowlett, TX Residents
Mastering Mercedes Engine Care Top Tips for Rowlett, TX ResidentsMastering Mercedes Engine Care Top Tips for Rowlett, TX Residents
Mastering Mercedes Engine Care Top Tips for Rowlett, TX ResidentsRowlett Motorwerks
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientationxlr8sales
 
Control-Plan-Training.pptx for the Automotive standard AIAG
Control-Plan-Training.pptx for the Automotive standard AIAGControl-Plan-Training.pptx for the Automotive standard AIAG
Control-Plan-Training.pptx for the Automotive standard AIAGVikrantPawar37
 
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdfkushkruthik555
 
Pros and cons of buying used fleet vehicles.pptx
Pros and cons of buying used fleet vehicles.pptxPros and cons of buying used fleet vehicles.pptx
Pros and cons of buying used fleet vehicles.pptxjennifermiller8137
 
-The-Present-Simple-Tense.pdf english hh
-The-Present-Simple-Tense.pdf english hh-The-Present-Simple-Tense.pdf english hh
-The-Present-Simple-Tense.pdf english hhmhamadhawlery16
 
Lighting the Way Understanding Jaguar Car Check Engine Light Service
Lighting the Way Understanding Jaguar Car Check Engine Light ServiceLighting the Way Understanding Jaguar Car Check Engine Light Service
Lighting the Way Understanding Jaguar Car Check Engine Light ServiceImport Car Center
 
Human Resource Practices TATA MOTORS.pdf
Human Resource Practices TATA MOTORS.pdfHuman Resource Practices TATA MOTORS.pdf
Human Resource Practices TATA MOTORS.pdfAditiMishra247289
 

Último (12)

Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
 
Building a Future Where Everyone Can Ride and Drive Electric by Bridget Gilmore
Building a Future Where Everyone Can Ride and Drive Electric by Bridget GilmoreBuilding a Future Where Everyone Can Ride and Drive Electric by Bridget Gilmore
Building a Future Where Everyone Can Ride and Drive Electric by Bridget Gilmore
 
A Comprehensive Exploration of the Components and Parts Found in Diesel Engines
A Comprehensive Exploration of the Components and Parts Found in Diesel EnginesA Comprehensive Exploration of the Components and Parts Found in Diesel Engines
A Comprehensive Exploration of the Components and Parts Found in Diesel Engines
 
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
 
Mastering Mercedes Engine Care Top Tips for Rowlett, TX Residents
Mastering Mercedes Engine Care Top Tips for Rowlett, TX ResidentsMastering Mercedes Engine Care Top Tips for Rowlett, TX Residents
Mastering Mercedes Engine Care Top Tips for Rowlett, TX Residents
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientation
 
Control-Plan-Training.pptx for the Automotive standard AIAG
Control-Plan-Training.pptx for the Automotive standard AIAGControl-Plan-Training.pptx for the Automotive standard AIAG
Control-Plan-Training.pptx for the Automotive standard AIAG
 
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
 
Pros and cons of buying used fleet vehicles.pptx
Pros and cons of buying used fleet vehicles.pptxPros and cons of buying used fleet vehicles.pptx
Pros and cons of buying used fleet vehicles.pptx
 
-The-Present-Simple-Tense.pdf english hh
-The-Present-Simple-Tense.pdf english hh-The-Present-Simple-Tense.pdf english hh
-The-Present-Simple-Tense.pdf english hh
 
Lighting the Way Understanding Jaguar Car Check Engine Light Service
Lighting the Way Understanding Jaguar Car Check Engine Light ServiceLighting the Way Understanding Jaguar Car Check Engine Light Service
Lighting the Way Understanding Jaguar Car Check Engine Light Service
 
Human Resource Practices TATA MOTORS.pdf
Human Resource Practices TATA MOTORS.pdfHuman Resource Practices TATA MOTORS.pdf
Human Resource Practices TATA MOTORS.pdf
 

190711_Testbirds_Selenium_eclipsecon_FINAL_0.ppt

  • 1. 1 TESTING REALITY REAL USERS, REAL DEVICES, REAL TIME Powered by Crowd & Cloud Technologies A complete Selenium Techstack – From conception to evaluation with open source software
  • 2. 2 Test Automation Test Automation at a glance Test Design Test Development Test Execution Test Evaluation
  • 3. 3 Legibility Accelerates error analysis, ensures broad common understanding and thus promotes cooperation. 1 Test Design The Challenges Reusability Reduces potential sources of error, improves overall maintainability and increases scalability. Abstraction from the test object Using declarative instead of imperative test case descriptions shifts focus to functional rather than technical aspects. Structure Promotes logical structure, for example by precondition, action and assurance. 2 4 3
  • 4. 4 Test Design Tools in our stack Legibility • BDD with Cucumber • Human-readable test specification thanks to Gherkin Syntax • Involves the entire team, from tester to developer to PO Reusability • Step Definitions by Gherkin Syntax • Flexibly combinable Structure • Logical structure according to Given - When - Then thanks to Gherkin template • Supplementary explanations with the help of narratives Abstraction from the test object • Gherkin as a natural additional level of abstraction
  • 5. 5 Test Automation Test Automation at a glance Test Design ●Legibility ●Structure ●Reusability ●Abstraction from the test object Gherkin Syntax as an interface Test Development Test Execution Test Evaluation
  • 6. 6 Stability Reduces the number of so-called false negatives, speeds up individual test runs. 1 Test Development The Challenges Best Practices Prevents the use of bad practices (such as static waits), promotes good practices such as the Page Object Pattern. Reusability Reduces potential sources of error, improves overall maintainability and increases scalability. 2 3
  • 7. 7 Test Development Tools in our stack Reusability • Selenium Browser Testing with Selenide • Simplest test configuration • User-friendly session and driver management • Always updated framework methods Stability • Cross-browser proven framework methods • Possibility to communicate directly with the backend Best Practices • Implicit, globally configurable timeouts before each operation • Native page object integration • Integrated error handling, screenshots and DOM dumps
  • 8. 8 Test Automation Test Automation at a glance Test Design ●Legibility ●Structure ●Reusability ●Abstraction from the test object Gherkin Syntax as an interface Test Development ●Simple code with clear structure ●Stable Selenium framework ●Best Practices Selenide Framework, Best Practices Test Execution Test Evaluation
  • 9. 9 Predictability Event and time based execution of E2E tests 1 Test Execution The Challenges Connecting data Execution of the E2E tests only after successful build (including execution of the unit tests) and deployment on the test environment. Parameterizability Execution of the same test suite in different test environments and in different browser operating system combinations. 2 3
  • 10. 10 Test Execution Tools in our stack Execution of the tests in an independent system (Continuous Integration, CI) • Jenkins with Jenkins Pipelines • Parameterization of the pipelines in Jenkinsfile incl. schedule possible • Own projects as required for special test runs (e.g. nightly-main-browsers) Loose coupling of product and test development • Jenkinsfile in every git on every branch • Parameterization allows easy coupling, e.g. the URL (staging-123.tests.local) Backgrounds and benefits of this tool choice • Test development of unit tests is part of every feature • E2E tests can "hang behind" for time / cost reasons or achieve less coverage • Jenkinsfiles in Git define the complete build - (almost) no configuration in Jenkins
  • 11. 11 Test Automation Test Automation at a glance Test Design ●Legibility ●Structure ●Reusability ●Abstraction from the test object Gherkin Syntax as an interface Test Development ●Simple code with clear structure ●Stable Selenium framework ●Best Practices Selenide Framework, Best Practices Test Execution ●Smoke tests after each build ●Time-controlled long test runs ●Parameterization of builds ●Different test environments Jenkins Pipeline Test Evaluation
  • 12. 12 Assessability Freely determinable evaluation and error category of test run errors, automatic assignment for frequently recurring errors. 1 Test Evaluation The Challenges Analysability Integration of stack traces, error logs, screenshots and video recordings, link to specification and issue trackers. Visualizability Graphical processing of test results, configurable dashboards, automatic error notifications. Structurability Sensible grouping of test results by product version, test environment and browser operating system combination. 2 4 3
  • 13. 13 Test Evaluation Tools in our stack Example: 200 test cases from 10 feature groups of a web portal (horizontal in the matrix) Test runs on all common desktop browsers (vertical) • Win 10: IE11, Edge, Chrome, Firefox, Firefox ESR • macOS: Safari, Chrome, Firefox, Firefox ESR • Win 7: IE11 (strong OS dependency) • = 10 Test environments/Browser → 200x10 matrix with 2,000 test results per test environment 5 feature branches + Staging = 6 branches / environments to be tested = 12,000 test results per night
  • 14. 14 Test Evaluation Tools in our stack Many tests, a lot of data → Jenkins plugins or similar often inadequate • Own tool for the evaluation of all test runs and statistical correlation • Delivery of additional data to the tool (not just junit-results.xml) • Integration of test or system specific data by the test code, e.g. Resolve UUID error in backend and extract stacktrace Statistically, errors occur even with very good stability of the system • Quote of a developer: "The system has to recognize outliers easily!“ • Solution: "AI" or automatic data analysis with machine learning • Tags, feedback from users and more data feed the system ​​for future analysis • Checks of system availability reportportal.io provides many of the desired functions here • Automated analysis and easy integration into the test suite • Dashboards and clear UI
  • 15. 15 Test Automation Test Automation at a glance Test Design ●Legibility ●Structure ●Reusability ●Abstraction from the test object Gherkin Syntax as an interface Test Development ●Simple code with clear structure ●Stable Selenium framework ●Best Practices Selenide Framework, Best Practices Test Execution ●Smoke tests after each build ●Time-controlled long test runs ●Parameterization of builds ●Different test environments Jenkins Pipeline Test Evaluation ●Correlation with past tests ●Extension of the reports ●Screenshots, Backend information ●Automated analysis reportportal.io with connection in the code
  • 17. 17 Contact Felix Kuperjans Felix Kuperjans | Technical Lead Device Cloud Testbirds GmbH | Radlkoferstraße 2 | 81373 Munich +49 89 856 33 35 – 0 f.kuperjans@testbirds.de