Creating Faster and More Reliable Web Tests with Blended Testing - Jan Molak, SmartCode Ltd
Creating Faster and More Reliable Web Tests with Blended Testing - Jan Molak, SmartCode Ltd
Automated acceptance tests are often implemented to exercise a fully-assembled and deployed system through its web interface. This approach makes them slow and flaky and reduces the value they could be bringing to your organisation.
Blended Testing is a technique that can improve the speed and stability of web-based test scenarios by making them take shortcuts through other interfaces of the system under test.
To use it effectively, though, we need to know when it's safe to take shortcuts and how to take them - this is where Task Analysis and the Screenplay Pattern can help.
In this talk, Jan Molak - Lead Developer of Serenity/JS and co-author of "BDD in Action, Second Edtion" will show you how to apply Task Analysis, Screenplay Pattern, and use Serenity/JS 3.0 to design and develop blended test scenarios that exercise multiple interfaces of the system under test to improve execution speed and stability.
Outline/Structure
In this practical session, we'll refactor a non-trivial web-based test to introduce business domain language and abstractions that help to swap out UI interactions for interactions with REST API.
To do that:
We'll start with an example of a typical, non-trivial web test implemented using WebdriverIO
Introduce Task Analysis and use it to identify business domain-specific tasks (e.g. "add product to basket" vs "click on img tag")
Use Serenity/JS 3.0 Screenplay Pattern APIs to implement Web and REST API-specific flavours of those tasks (e.g. PopulateProductCatalogViaAPI vs PopulateProductCatalogViaUI)
Learning Outcome
By the end of the session, you'll be able to:
Explain how to use Task Analysis to identify business-focused tasks in a traditional spaghetti test script
Use Serenity/JS Screenplay Pattern APIs to turn the test script into a test scenario using business domain vocabulary
Use Serenity/JS Web and REST modules to implement blended tests
Target Audience
Test automation engineers, developers
Prerequisites for Attendees
A basic understanding of automating test scenarios interacting with Web-based interfaces and REST APIs.
Links
Serenity/JS 3.0 will be published in November 2022.
Codebase: https://github.com/serenity-js
Project website: https://serenity-js.org
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should) also be automated as well. For more infomation check out: https://www.selenium.dev/
Видео Creating Faster and More Reliable Web Tests with Blended Testing - Jan Molak, SmartCode Ltd канала Selenium Conference
Automated acceptance tests are often implemented to exercise a fully-assembled and deployed system through its web interface. This approach makes them slow and flaky and reduces the value they could be bringing to your organisation.
Blended Testing is a technique that can improve the speed and stability of web-based test scenarios by making them take shortcuts through other interfaces of the system under test.
To use it effectively, though, we need to know when it's safe to take shortcuts and how to take them - this is where Task Analysis and the Screenplay Pattern can help.
In this talk, Jan Molak - Lead Developer of Serenity/JS and co-author of "BDD in Action, Second Edtion" will show you how to apply Task Analysis, Screenplay Pattern, and use Serenity/JS 3.0 to design and develop blended test scenarios that exercise multiple interfaces of the system under test to improve execution speed and stability.
Outline/Structure
In this practical session, we'll refactor a non-trivial web-based test to introduce business domain language and abstractions that help to swap out UI interactions for interactions with REST API.
To do that:
We'll start with an example of a typical, non-trivial web test implemented using WebdriverIO
Introduce Task Analysis and use it to identify business domain-specific tasks (e.g. "add product to basket" vs "click on img tag")
Use Serenity/JS 3.0 Screenplay Pattern APIs to implement Web and REST API-specific flavours of those tasks (e.g. PopulateProductCatalogViaAPI vs PopulateProductCatalogViaUI)
Learning Outcome
By the end of the session, you'll be able to:
Explain how to use Task Analysis to identify business-focused tasks in a traditional spaghetti test script
Use Serenity/JS Screenplay Pattern APIs to turn the test script into a test scenario using business domain vocabulary
Use Serenity/JS Web and REST modules to implement blended tests
Target Audience
Test automation engineers, developers
Prerequisites for Attendees
A basic understanding of automating test scenarios interacting with Web-based interfaces and REST APIs.
Links
Serenity/JS 3.0 will be published in November 2022.
Codebase: https://github.com/serenity-js
Project website: https://serenity-js.org
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should) also be automated as well. For more infomation check out: https://www.selenium.dev/
Видео Creating Faster and More Reliable Web Tests with Blended Testing - Jan Molak, SmartCode Ltd канала Selenium Conference
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![So You're Automated...Now Let's Make It Fast!](https://i.ytimg.com/vi/GBRLFvx1UwQ/default.jpg)
![Automating Restaurant Point of Sale With Selenium: A Case Study - Jeffrey Payne](https://i.ytimg.com/vi/ArWWa4LzYjg/default.jpg)
![Selenium Today vs. Selenium Tomorrow: Digital as the Convergence of Mobile & Web Programs -](https://i.ytimg.com/vi/Ln4-lVlajic/default.jpg)
![Automation Alchemy on a Mass Scale: Turning Costly Manual Tests Into Automation Gold](https://i.ytimg.com/vi/Bj0A-dAA02Y/default.jpg)
![The Many Faces Of Node.js – Selenium Testing At PayPal - Matthew Edelman, PayPal](https://i.ytimg.com/vi/D-YQRrpi8m4/default.jpg)
![Selenium State of the Union](https://i.ytimg.com/vi/jvosGfWh_FM/default.jpg)
![Embracing Change in a Less-than-ideal World](https://i.ytimg.com/vi/Wzj8UXdcElo/default.jpg)
![Moving from Manual to Automated Testing at a Small Company | Kathleen Conw](https://i.ytimg.com/vi/1LDRzDrjzUA/default.jpg)
![To Deploy or Not To Deploy - Decide Using TTA's Trend & Failure Analysis](https://i.ytimg.com/vi/8upkDSQI4no/default.jpg)
![Sleeping is not your best friend in automation - Michelle Macdonald | SeleniumConf Chicago](https://i.ytimg.com/vi/WUBhjfFTJA8/default.jpg)
![Pluggable Test Infrastructures](https://i.ytimg.com/vi/FcoAM3f0wo0/default.jpg)
![John Hammerlund and Patrick Herrmann Bumblebee Page Objects for any UI](https://i.ytimg.com/vi/rxkEWeljdqM/default.jpg)
![Keynote - The Good Software Project: A Personal History - Jim Evans – Salesforce.com](https://i.ytimg.com/vi/InIwMRJauZw/default.jpg)
![The Pied Piper of Selenium | Michelle Macdonald | #SeConfLondon](https://i.ytimg.com/vi/s71oFXzaeXc/default.jpg)
![Identifying Code Smells - Benjamin Bischoff, trivago N.V.](https://i.ytimg.com/vi/oCBIQeRF0-o/default.jpg)
![Why Browser Engines ≠ Real Desktop Browsers ≠ Mobile Browsers - David Burns, BrowserStack](https://i.ytimg.com/vi/Mo6LmFGrtxY/default.jpg)
![Se Builder Hacking Session](https://i.ytimg.com/vi/RdAd4QfAT8w/default.jpg)
![Zen and the Art of Open Source Maintenance | Simon Stewart](https://i.ytimg.com/vi/FCa2a6lAhjM/default.jpg)
![Selenium Commiters Panel | SeleniumConf Chicago](https://i.ytimg.com/vi/JLBpMn9Wt9c/default.jpg)
![Day 2 Lightning Talks | SeleniumConf Chicago](https://i.ytimg.com/vi/G6Y7WebZIVY/default.jpg)
![SeleniumConf 2023 Hallway Track - Mark Winteringham, Ministry of Test](https://i.ytimg.com/vi/_QdlH5DCrpE/default.jpg)