
Learn how web applications run in a client-server model inside browsers, using HTML for structure, CSS for design, and JavaScript for dynamic behavior, plus Java vs JavaScript history.
Explore the DOM and how browsers build it from HTML, then use JavaScript to access and dynamically update page elements with inline or external scripts.
Visual Studio Code
Live Server extension
document and console objects in JS
Comments and Statements in JS
Master JavaScript variables and data types with let, var, and const, exploring scope, initialization, and dynamic typing across numbers, strings, booleans, null, and undefined.
Explore how to use JavaScript operators, including arithmetic, assignment, relational, and logical operators, and practice with increment, decrement, and the ternary operator.
Explore JavaScript control flow by using conditional statements, including if, else, and switch, with practical examples on even/odd checks, largest of three numbers, and week-name mapping.
Master JavaScript loops and jumping statements, from while and do-while to for loops, with practical examples printing 1-10, even numbers, and descending sequences using break and continue.
Learn how JavaScript functions organize code as reusable blocks, define with the function keyword, call with arguments, return values, and integrate them into interactive web UI.
Learn to work with JavaScript objects: define properties and methods, access values with dot or bracket notation, add or delete properties, and loop with for-in.
Learn how to create and manipulate JavaScript arrays, store multiple values (including objects), access and modify elements by index, check length, and iterate with for loops and for of.
Explore JavaScript array functions, including joining and converting arrays to strings, adding and removing elements with push, pop, shift, unshift, delete, and concatenating, slicing, sorting, and reversing arrays.
Learn to create and use the JavaScript date object to extract current date, month, year, hours, minutes, and seconds, and render a live digital clock with proper formatting.
Learn to work with numbers and strings in JavaScript, create string and number objects, and manipulate text with methods like substring, replace, split, trim, and case changes.
Explore how JavaScript implements object oriented programming with class, object, methods, and constructor, including the this keyword, object memory, and how objects create and display data.
Understand how the static keyword in JavaScript shares variables and methods across all objects, saving memory. Access static members via the class name; non-static members require an object.
Discover how JavaScript encapsulation binds data and methods into a single class, using constructors and getter and setter methods to manage student name and marks.
Learn how inheritance in JavaScript enables reusing properties and methods by extending a base class, with topics on single, multilevel, and hierarchical inheritance, method overriding, and the super keyword.
Explore JavaScript prototypes and how they attach to functions and classes, enabling adding shared properties and methods at runtime, and see practical examples with objects and constructors.
Explore polymorphism in JavaScript by using a shape base class and subclasses like square and circle that override the draw method, demonstrating multiple forms through inheritance.
Learn to read json data in javascript by converting json into javascript objects and extracting values from arrays and nested fields.
Explore how protractor serves as an end-to-end testing framework for Angular and AngularJS apps, wrapping Selenium WebDriverJS on Node.js to enable Angular-specific locators like ng-repeat, ng-controller, ng-model and manage synchronization.
Step 1 : Download and install node.js
https://nodejs.org/en/download/
node -v
npm -v
Step 2 : Install Protractor
npm install -g protractor
protractor --version
Step 3 : Run command
webdriver-manager update
Step 4 : Find conf.js file at C:\Users\Admin\AppData\Roaming\npm\node_modules\protractor\example
On cmd goto the location of this file and run command
protractor conf.js
Step 1 : Download and install node.js
https://nodejs.org/en/download/
node -v
npm -v
Step 2 : Install Protractor
npm install -g protractor
protractor --version
Step 3 : Run command
webdriver-manager update
Step 4 : Find conf.js file at /usr/local/lib/node_modules/protractor/example
On cmd goto the location of this file
and run command
protractor conf.js
Learn how to set up a protractor project in Visual Studio Code, install JavaScript and TypeScript support, arrange folders, copy example specs, and run tests with Protractor.
Learn to write the first Protractor test with Jasmine, configure a spec file, and create tests that open an AngularJS app, maximize the window, and verify the title.
Explore protractor locators, including angular-specific ones like ng model, binding, repeater, and button text, plus webdriver locators, using element and element.all.
Learn Jasmine, a behavior-driven JavaScript unit testing framework used by Protractor to run tests. Discover describe and it blocks and hooks like before all and before each in spec files.
Explore Jasmine describe and it blocks, and learn to focus or disable blocks with f describe and X describe for selective runtime and test organization.
Learn to use Jasmine's expect and matchers with protractor, including to be, to equal, to contain, and relational checks like greater than and less than.
Learn to create a protractor test for an Angular app, log in with Luke and Skywalker, verify the greeting, then log out, using ng model, button text, and csx locators.
Learn how to handle tables in protractor by automating add, view, edit, and delete operations on a product list, including selecting rows, extracting data, and verifying details.
Automate non angular apps with protractor by disabling angular synchronization or ignoring synchronization. Create a test that inputs text, clicks search, and verifies the product displays.
Switch to frames in Protractor to perform actions inside each frame by locating elements. Switch by name or index, then return to the main page to navigate subsequent frames.
Learn to perform mouse actions in Protractor, including hover, click, and drag-and-drop, by moving through multi-level menus and elements after logging in.
Learn how to perform the double click action in Protractor for non-angular JavaScript apps, using two approaches: browser actions and element DoubleClick, demonstrated on a Blogspot page.
Learn to perform right click actions in Protractor by locating the target element, using browser.actions to trigger a right-click, and handling the resulting context menu.
Master drag and drop in protractor by locating source and target elements with ng-model locators and performing browser actions drag and drop to automate the scenario.
Learn to automate protractor tests using the page object model in angular applications, organizing elements and actions into page objects for reusable, maintainable tests; includes form submission and table verification.
Install and configure the protractor beautiful reporter to generate html reports with screenshots for protractor tests, run tests, and view logs, screenshots, and charts in the report.
Course Introduction:
Welcome to the comprehensive course on Protractor and JavaScript programming for Web UI Automation! In today's rapidly evolving tech landscape, Protractor has emerged as the go-to automation testing tool, especially with the surge in demand for JavaScript frameworks like Angular and React for Front-End UI development. Developed by the Angular core team, Protractor stands out for its stability, reliability, performance, and efficient handling of code complexity, making it the hottest choice for automating Angular applications.
This course is designed to equip you with the necessary skills and knowledge to excel in Protractor automation testing. Whether you are a beginner looking to enter the field of automation testing or an experienced professional aiming to enhance your skills, this course caters to all levels.
Course Contents:
JavaScript Programming:
Introduction to JavaScript
DOM (Document Object Model)
Environment setup on Windows & Mac
JavaScript Comments & Statements
Variables
Data Types
Operators
Conditional statements
Looping statements
Functions in JavaScript
Objects in JavaScript
Arrays
Array Functions in JavaScript
Date Object
Strings in JavaScript
Numbers in JavaScript
Object-Oriented Programming
Class, Object & Methods
Constructor
static keyword in JavaScript
Encapsulation
Inheritance
Prototype
Polymorphism
JSON to JavaScript Object Conversion
Web UI Automation using Protractor:
Introduction to Protractor
Environment setup on Windows & Mac
How to write test cases in Protractor
Locators
Jasmin framework for Protractor
Handle Elements - Input box, Button, DropDown, Alerts
Handle Web Table
Automate Non-AngularJS Application
Handle Elements - Frames
Handling Mouse Operations
Mouse Hover
Right click
Double click
Drag and DropDown
Page Object Model
Capture screenshots
Generate HTML reports
By the end of this course, you'll not only have a solid understanding of JavaScript programming but also be proficient in using Protractor for effective Web UI Automation. Get ready to dive into the world of automation testing and elevate your skills to meet the industry demands!