A three day practical training course on Selenium 3.0. in CSharp
Interested in attending? Have a suggestion about running this event near you?
Register your interest now
Three day course on Selenium 3.0. The first two days are instructor led and the third day provides an opportunity for hands-on learning, putting into practice the learning from the course.
Selenium allows both developers and testers to automate tests against applications and execute them against multiple browsers. This course aims at providing a solid foundation to the attendee in understanding automated testing using Selenium.
The objectives of this course are not only to teach what the tool is capable of doing, but to focus on the practical steps required to make automation using Selenium work. The course provides a hands-on walkthrough to allow attendees to understand the steps in making Selenium function in the real world.
The consumer is putting increasing demands on organisations to deliver applications across many devices, browsers and platforms. With Increasing pressure being put on test tool budgets, IT professionals are looking to the open source market for test automation tools.
On completion of the course, attendees will understand how to configure Selenium and how to automate tests using the tool.
- Automation Overview
- Core skills taught on the course
- Overview of Selenium IDE and available add-ins
- Recording and replay of a Selenium IDE Test
- Object recognition tools Firebug and Firepath.
- Assertions and Verifications
- Exporting a Selenium IDE Test as Java
Creating Selenium Scripts in IntelliJ IDE
- Configuring a new Java project in IntelliJ
- Creating a basic automated test and a test suite
- Executing a test and test suite through IntelliJ
- Importing a test from Selenium IDE
- Components of Selenium Webdriver in JUnit
- Annotations in WebDriver
- Interacting with the AUT: Object locators
- Actions on WebElements
Data Driving Selenium Tests
- Use of data sources (e.g. Excel spreadsheets, CSV files, databases) to provide increased maintainability flexibility.
Debugging and coding
- Setting breakpoints
- Retrieving values on-the-fly
- Stepping through code
- ObservingUsing observations from the Application under Test and data source
- Making deductions
- Building and testing a hypothesis
Page Object Model
- Introducing the Page Object Model
- Accessing the page objects in a test script
- Why it is difficult to identify an object.
- Choice of element locator
- Use of multiple locator properties
- Use of Xpath or CSS syntax and patterns
- Use of ordinal identifiers
- Using firepath to write more stable locators
- Descriptive programming for dynamic objects
- How to navigate web iframes
Behaviour Driven Development (BDD) and Cucumber (Bonus lesson)
- Feature files
- Step definitions
- Runner classes
- Selenium IDE: Creating a new test
- IntelliJ: Importing Selenium test into a new CSharp project
- Page Objects: Converting the script to use them
- Asserts: For both positive and negative test
- Data driving: simple and complex.
- Reporting: outputting results to a spreadsheet
Although it is beneficial that attendees have a coding background (ideally in CShapr), this is not essential.
The code examples used during the course are available in the training environment for attendees to access.
Recommended Follow-on courses
Using Cucumber with Selenium
Who should attend
Agile testers, test automation specialists looking to learn Selenium and testers wishing to become test automation specialists.
Your benefits at a glance
- Learn the most up-to-date methodology
- Deliver increased efficiency and effectiveness to your team
- Learn through best practices and real examples
- Learn with trainers who have proven track records
- Flexible delivery with online learning options
- Train with the world’s leading quality specialist for digital business