what’s new in ats 2s...why you should automate your tests delivering a quality application the...

40
What’s New In ATS 2.0 Andrej Koelewijn, Joris van der Heijden 2018-03-29

Upload: others

Post on 17-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

What’s New

In ATS 2.0

Andrej Koelewijn, Joris van der Heijden2018-03-29

Page 2: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Speakers

Andrej KoelewijnProduct Manager at Mendix

Joris van der HeijdenMendix Test Consultant

and Trainer

at Mansystems

Georg HolzSenior Consultant at Mansystems

Jan de VriesDeveloper Content Marketing

Manager at Mendix

Page 3: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Agenda

• Brief introduction to ATS

• Demo

• New features of ATS 2.0

• Summary

• Questions

Page 4: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

A brief introduction to ATS

Page 5: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

What is ATS?

• Application Test Suite

• Define and run user interface tests for Mendix apps

• Focus on ease of use • Anybody in your Mendix team can

define and run tests

• Low code – no scripting required

• Cloud tool – 5 minutes to set up and run your first test

Page 6: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Role of ATS?Test Automation Tooling

APMSoftware performs its functions

within an acceptable time.

ATSSoftware responds correctly to all kinds

of input.

AQMSoftware meets the requirements

that guided its design & development

Reliability

Compatibility

Performance

Functional

SuitabilitySecurity

Maintainability

Portability

Usability

Software testingis an investigation conducted to provide

stakeholders with information about the quality of

the product or service under test.

ISO 25010

Quality

characteristics

Page 7: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Why you should automate your testsDelivering a quality application

The earlier a bug is found, the lower the cost fixing a bug.Source: Systems Sciences Institute at IBM

$100 $1,500 $10,000

COST OF A SOFTWARE BUG

If found in Gathering

Requirements phase

If found in QA testing phaseIf found in Production

The more automated tests, the less time spent on

regression testing.

Testing new features (manual)

Testing new features (automated)

Regression testing (manual)

Maintaining automated regression set

Page 8: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Why are Mendix customers using ATS?Regression testing

Testing of existing functionality that is not changed by changes to the

application

• Sunny & Rainy day scenario’s

• Negative testing (security testing)

Data driven testing

Single value & data driven testing

Availability testing

Testing application production availability (24/7)

Performance testing

Test Case and Test Step duration

In combination with APM

Validation process

Use PDF report for audits

Reliability

Compatibility

Performance

Functional

Suitability

Page 9: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

*Recommended setup. Other setups,

using on-premises public or private

apps and/or a customer-hosted Selenium solution are also possible.

How does ATS work?

Page 10: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Interactions between ATS, Selenium hub and AUT

Script writer Stage manager Actor

Page 11: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Demo

Page 12: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

ATS Demo

Projects Create Test Modify Test Run Test View ResultsRecord Test

Page 13: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

New features

Page 14: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Project dashboard

Page 15: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Readable test scripts

Recording results in a

test script readable by

non-technical people

Page 16: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Faster test editing

Drag and drop

Inline editing

Page 17: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Create reusable actions from recordings

Select test steps to

create reusable test

action

You can parameterize

the action

Page 18: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

User friendly test script editing

Inline editing, no low

level selenium scripting

needed Powerful search

Page 19: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

User friendly test script editing

Inline editing, no low

level selenium scripting

neededPowerfull search

Find reusable test steps

Page 20: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

User friendly test script editing

Inline editing, no low

level selenium scripting

neededPowerfull search

Support for Mendix

Widgets

Page 21: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Selenium still available if needed

Page 22: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Test Suite Dependencies

Define if tests in a test

suite should run parallel

or sequentially

Page 23: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Cross platform testing

Page 24: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Test your scenarios with Internet Explorer

Page 25: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Flexible reporting

Page 26: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Readable result log

Error log shows cause for

failing test

Page 27: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

ATS settings

• Configure App

environments

• Configure selenium hub

• Configure CI/CD Keys

Page 28: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Run test against multiple environments

Define App

environments

Use environment

in test steps

Page 29: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Configure test provider

Choose between:

• Saucelabs

• Browserstack

• Testingbot

• Custom (on-prem)

Configure Selenium hub

Page 30: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

CI/CD Templates – web service API to run tests

A template defines what tests

and test suites to run

And the environment, browser

and platform to run the tests on

Web service call to run tests

Page 31: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

ATS 2 – summary

• SaaS product: https://ats.mendix.com

• UI improvements reduce effort to create and run tests:

• Improved performance of test runner, so you can validate more tests in less time

• Improved control over test case dependencies:

• CI/CD APIs

Page 32: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Wrap-up

Page 33: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Tips and tricks

• Define your test scripts around Mendix widgets• Avoid low-level selenium actions if possible

• Build test scripts as part of your sprint

Page 34: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Easiest way to test Mendix applications

• No installation, 5 minutes to create and run your first tests

• Can be used by anyone involved in Mendix projects

• Improves collaboration: test scripts are readable for anyone

• Create test scripts by recording your actions in the App

• No need for technical HTML knowledge

• Tests do not need to be modified when upgrading Mendix

• Small UI changes do not impact your test scripts

Page 35: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

https://mansystemsacademy.nl/registration-ats-workshop/Register @

Page 36: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Questions?

Page 37: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Deployment options – Mendix Cloud

Page 38: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Deployment options – on-prem through firewall

Page 39: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Deployment options – on-prem with agent

Page 40: What’s New In ATS 2s...Why you should automate your tests Delivering a quality application The earlier a bug is found, the lower the cost fixing a bug. Source: Systems Sciences Institute

Deployment options – on-prem selenium