Course Content
Selenium Javascript Online Training
Introduction to JavaScript
An overview of the History & Terms
Basic Syntax
Browser Dev Tools
the Console window
JavaScript in the IDE
IDEs available in the market
Visual Studio Code IDE
Node & Npm
Setting up the workspace
executing JS
VS Code features
JavaScript Basics
Comments
Introduction To Client Side Scripting
JavaScript Types
Variables In JS
Datatypes In JS
Operators In JS
Conditional Statements
Java Script Loops
JS Popup Boxes
JS Events
JS Arrays
Working With Arrays
JS Objects
JS Functions
Operators
Arithmetic
Assignment
Comparison
Logical
Conditional
Using Java Script In Realtime
JS Popup Boxes
Validation Of Forms
The DOM, Nodes, And Objects
Understanding The DOM
Adding Nodes To The DOM
Deleting
Nodes From The DOM
NodeJs basics
Nodejs programs
First Test Case – WebDriverJS
What is Selenium
Selenium Projects
Installing WebDriverJS and Browser drivers
creating our first script
Object Identification
Element locator strategies
Chrome Developer Tools and other extensions
Regular Expressions
Xpaths
Simple WebDriver Tests
Creating a simple test
execution & failures
debugging tools
Synchronisation
JavaScript Asynchronous nature
Callbacks
Promises
Async/Await
Adding Delay
Implicit versus Explicit Waits
common examples
Asserts
Node Asserts
Chai Asserts
Chai Styles
installing and using Chai
Mocha
What is Mocha?
Why use Mocha
Installation, using Mocha, Mocha Options
Hooks
Mocha Timeouts
Execution options
Reporting
Mocha –report option
installing and using Mochawesome
writing to the results
Helper Libraries
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
Handling Web Tables
Drop-Down lists
executing JavaScript in the Browser
Keyboard input & more
Git
Initialize repo
Commiting code
Modifying code and merge conflict resolution
Branch creation
Integrating VS Code with Git
Jenkins
Running your code with Jenkins
Connect GIT repo with Jenkins
Plugins
Report generation