training

2 days

beginner

Web Test Automation with
CodeceptJS Advanced

Deep dive into the CodeceptJS
Learn how to do JS test automation nicely

Register Learn more

Web applications are complex. Is it possible to make simple tests for complex apps? Yes! In this training, we will teach you how to build a sustainable tests suite focused on interaction scenarios. By unleashing the full power of CodeceptJS, you will make effective tests easily integrated with your application. Learn how to take the most from this API, choose a testing backend, and run tests simultaneously!

JS Engineers
Target audience
Training
Course type
2 days
Course duration
10 persons
Average amount in a group
Medium
Course level
20/80
Theory / practice
Onsite, online
Place
1200€
Fee per participant

Training agenda

CodeceptJS Overview

CodeceptJS Overview

– Architecture: actors, helpers, tests
– Managing asynchronicity: recorder, recorder sessions
– WebDriverIO helper (pros and cons)
– Protractor helper (pros and cons)
– Puppeteer helper (pros and cons)
– Nightmare helper (pros and cons)
Performing Tests

Performing Tests

– Scenario and Features
– async/await operators in tests
– within and pause operators
– Page Objects (and Page Fragments)
– Actor classes
– Reusing test code: where to store data
Extending CodeceptJS with Custom Helpers

Extending CodeceptJS with Custom Helpers

– API Helpers
– Writing a custom method in helper
– Manual browser control
– Reusing session between tests
Bootstrap and Teardown

Bootstrap and Teardown

– Starting / stopping application with hooks
– Asynchronicity in hooks
– Events and plugin system
– Using recorder manually
Data Management

Data Management

– Data-driven tests
– Creating test data with external REST API
– Generating test data with ApiDataFactory
– Hooking dependency injection container
Reports (optionally)

Reports (optionally)

– HTML reports with mochawesome
– XML reports
– Allure reports
Tests Execution Tuning

Tests Execution Tuning

– Running tests simultaneously with run-multiple
– Selenoid: Recording videos of tests
– Selenoid: Remote browser preview with VNC

Application

10% discount for groups of 8 people or more

    Within one week after the application you will receive a confirmation email only if you are admitted. A maximum of 12 participants will be accepted.

    Contact us:

    If you would like to get in touch with us, send a note to trainings@sdclabs.com or follow us on Facebook for more updates and details. SDClabs accomplished 30+ projects and got a lot of niche expertise and knowledge. We are ready to share our experience to help you achieve more. Currently, we are working on test automation and DevOps courses. Soon they will be available on separate pages. Meanwhile, you can contact us if you want to start training:

    Selenium WebDriver for beginners
    Selenium WebDriver advanced
    Selenium WebDriver on Java
    Selenium WebDriver on Python
    Selenium WebDriver on Ruby
    Android mobile test automation
    iOS mobile test automation
    Full stack mobile test automation
    BDD explained on details
    Cucumber on java
    API test automation on java, python, ruby, c#
    Test automation infrastructure (Docker, Kubernetes)
    Codeception web test automation Advanced
    CodeceptJS web test automation Advanced

    Check out awesome courses

    Let us help you take development and test automation further. We offer a number of trainings that can help you and your organization get the most out of our enterprise support. Request a quote at trainings@sdclabs.com