
Create a simple TypeScript test file, compile it to JavaScript, and run the generated JavaScript to verify output; learn three steps and how TypeScript supports object oriented concepts with IntelliSense.
Explore literal types in TypeScript by defining a custom union type (like 'full' or 'user'), using it to conditionally print a name, and compiling and running the code.
Explore WebdriverIO, a free open-source tool for mobile and web testing with documentation and plugins. Learn its lack of official TypeScript examples and Docker image, and the driver–browser synchronization risk.
Set up a WebDriverIO TypeScript project for cucumber BDD by initializing an npm project, configuring tsconfig, and running WebDriverIO with chrome driver, feature files, and step definitions.
Install the spec reporter package for WebDriverIO, configure it in the reporter section of the config, and run tests to view features, scenarios, and steps executed in the console.
Configure max instances per browser in capabilities to enable parallel test runs, then launch multiple Chrome, Firefox, and Safari instances to execute multiple feature files and scenarios in parallel.
Explore locator strategies to identify page elements across web pages, using id, class, css selectors, xpath, link text, and partial text to reliably perform actions and verifications.
Learn to handle javascript alerts in a web automation flow by clicking the alert, accepting it to produce result text, and validating the alert flow with step definitions.
Refactor the framework to remove duplicate code by consolidating selectors and inputs, converting time values to strings, and creating reusable one-liner steps for click, set input, and post actions.
Commit and push the end-to-end framework to the GitLab repository, verify files and pipeline status, and prepare to explore Docker and advanced CI/CD pipelines in upcoming modules.
Replace the chrome driver with selenium standalone service in WDIO config, install the selenium standalone service, and run tests in Chrome using a separate config and script.
This course has been designed for testers who are trying to learn the latest automation test tool WebdriverIO with typescript and implementation of BDD. We will also run CI/CD pipelines using Gitlab with Docker runner.
No prior experience is required.
This course will cover everything from software installation in your computer to writing code in Typescript and finally running the test in CI/CD pipelines.
We will try to share enough information for you to understand each and every topic to become MASTER in this course. As Typescript provides us flexibility to use Object Oriented Concept, we have chosen Typescript over JavaScript.
Towards the end of the course, we will make a world class professional framework, which will support a significant number of tests and scenarios with limited amounts of code. This design pattern has been widely accepted by many organizations and used to build many robust frameworks.
Once you finish this course, I can assure you that you will be able to work as a very knowledgeable Professional Automation tester in your team and you will be able to utilize the learnings from this course immediately.
If you like this course, please do not forget to provide genuine feedback, which will help others while choosing this amazing course.