ITIL® 4 Managing Professional Transition Module (MPT) Training Courses Reduced To £1250 + VAT (£745 Saving). Learn more
Selenium WebDriver has become the standard tool for automated web testing. It has received an endorsement from W3C (World Wide Web Consortium), the community which works on web standards development and Selenium 4 is W3C compliant. It is open-source and provides a powerful set of tools for testing your website. It is available on any platform and can be used with just about any web browser, including remote execution via Selenium Grid.
You can also integrate it into a huge variety of frameworks such as Cucumber, SpecFlow, Mocha etc, as well as testing frameworks such as NUnit, xUnit, JUnit, MSTest etc., and use your choice of assertion libraries. It also integrates very easily into Continuous Integration Tools such as Jenkins, Azure DevOps, TeamCity etc.
An overview of the History & Terms, Basic Syntax, Browser Dev Tools & the Console
IDEs, VS Code, Node & Npm, Setting up the workspace, executing JS, VS Code features.
First Test Case - WebDriverJS
What is Selenium? Selenium Projects, installing WebDriverJS and Browser drivers, creating our first script
Element locator strategies, Chrome Developer Tools and other extensions, Regular Expressions, Index, Xpath functions
Simple WebDriver Tests
Creating a simple test, execution & failures, debugging tools
Node Asserts, Chai Asserts, Chai Styles, installing and using Chai
What is Mocha? Why use Mocha, Installation, using Mocha, Mocha Options, Hooks, Mocha Timeouts, Execution options
Mocha --report option, installing and using Mochawesome, writing to the results
Reusable code, writing, exporting & importing methods from modules, Common examples
Introducing Page Objects (POM)
Introduction to why we do it and how it reduces maintenance. Refactoring our tests to use a page object model. Developing a library of pages (POMs)
Handling Web Elements
Cross Browser Testing
Using different web browsers, Selenium Grid
Integrating VS Code with Git & GitHub, adding our project to Source Control
Command-line execution, integration with Jenkins or Azure DevOps
Parallel execution through Mocha, or through Azure DevOps
Purple Griffon offer the following private virtual sessions for your team. Our Automated Software Testing training courses can be delivered on-site at your location or online for up to ten people:
Call +44 (0)1539 736 828 now to discuss your training requirements and to book your sessions in the diary.
There are currently no course dates that match your selected filter options. Please try another filter or contact one of our dedicated account managers on +44(0)1539 736 828 to discuss your requirements. Thanks.