
Explore Ruby programming fundamentals, learn Watir for web automation, and master element locators, script writing, and cross-browser execution, with TestUnit and Cucumber for BDD.
Explore Ruby programming basics, an object-oriented, open-source, interpreted language with easy syntax, interactive Ruby command prompt, database connectivity, built-in functions, and versatile editors for development.
Install and verify a Ruby programming environment on Windows by downloading the 64‑bit Ruby installer, adding Ruby to the path, and confirming with ruby -v. Use Notepad++ for editing code.
Switch to the Ruby interactive environment using IRB, execute inline commands to print text, perform calculations, and explore output differences between print and puts, then exit.
Explore Ruby gems, libraries in Ruby, and master installing gems with gem install, listing with gem list --local, fetching, and uninstalling, Cucumber and its dependent gems on Windows and Unix.
Learn to write and run your first Ruby program using notepad plus plus, save as .rb, and print www.youtube.com and a welcome message to the console.
Master Ruby printing with and without newline using print and puts, add single and multiline comments, and read user input with gets to display a personalized message.
Explore Ruby begin and end blocks; place code to run at the start or the end, observe execution order, and mix or separate both blocks in a script.
Explore Ruby classes as containers for variables, constants, methods, and constructors; instantiate with ClassName.new and call methods, while organizing with require and a lib folder.
Define and reuse Ruby methods by creating a class and using def to perform specific tasks. Call methods via objects, pass arguments, and explore no-argument syntax, printing, and simple calculations.
Explore defining Ruby methods with arguments, calling them with different inputs, and understanding how the return value affects outputs, including error messages for mismatched arguments.
Demonstrates creating reusable Ruby methods with and without arguments, returning values with the return keyword, and composing multiply and add operations to pass results between methods.
Explore the difference between instance and class methods in Ruby, showing how to define and call each, on objects versus the class name, using self.
Explore Ruby constructors by defining initialize inside a class; constructors are automatically invoked when an object is created, allowing code execution before methods run, similar to methods.
Discover how a constructor with arguments operates in Ruby, pass two values to the constructor to perform subtraction and display the result when creating objects.
Learn why constructors are used for initialization and how creating an object automatically starts the browser, ensuring it is ready before running the test case.
Explore condition handling in Ruby using if and else to check even or odd numbers, including modulo logic and simple class methods.
Learn to implement nested if statements to handle multi-level conditions in Ruby, using checks like >50 and >90 to display pass, pass with honors, or fail.
Create a method that accepts a number and uses a conditional or to verify if the number is greater than 50 or even and display 'number is correct' when true.
Explore condition handling using logical and to require multiple criteria, such as numbers greater than 50 and even, with real test examples and input validation.
Explore Ruby variable types by examining local, instance, class, and global variables and their scopes from methods to classes, with practical examples to follow.
Demonstrates local variables in Ruby, showing they are declared inside a method and must start with a lowercase letter or underscore, and remain accessible only within that method.
Learn how instance variables, starting with @, persist across methods within the same object, unlike local variables that stay in a single method.
Explore class variables in Ruby, declared with @@, that are accessible by any object of the class and throughout the class, similar to Java static variables.
Explore global variables in Ruby, declared with the dollar sign, usable across files and classes, including inside methods, and learn how imports affect their usage.
learn the basics of for loops in Ruby, including variable setup, range notation (1..10 vs 1...10), and end blocks, then print values and generate a table.
Explore how the break keyword exits a for loop when a number divisible by 5 is encountered, using 1 to 10 example that prints 7, 14, 21, 28 before stopping.
Explore the for loop in ruby, using the next keyword to skip iterations when numbers are divisible by five and print only non-multiples from 1 to 10.
learn how the redo keyword affects for loops, restarting iterations when conditions are met, and how it interacts with break and next, including infinite loop examples.
Learn how the Ruby while loop mirrors the syntax of C, C++, and Java, with class and method examples that print tables by looping from 1 to 10.
Explore the until loop in Ruby for web application automation, comparing it with the while loop, noting that until runs until the condition becomes false and demonstrates with i increments.
Explore array basics in Ruby, an ordered collection of objects that can hold multiple data types. Learn zero-based indexing, negative indexing for last elements, and how non-existent indices yield nil.
Learn to create and manipulate arrays in Ruby: insert values at specific indices, fetch single or multiple elements with ranges or negative indices, and resize arrays with default values.
Explore common array methods in Ruby, including at, first, last, take, drop, and length or count to access, slice, and measure arrays.
Learn common array methods in Ruby, including push to add values, insert for specific indices, and pop to remove the last item, followed by sorting with sort.
Explore using the each loop with arrays and hashes to iterate values, assign them to variables, and perform operations like summing and multiplying with practical examples.
Explore Ruby strings as a class, explore single vs double quotes, and learn three ways to create strings: literals, String.new, and the string constructor, including variable substitution.
Explore essential string functions in Ruby, including upcase and downcase, to transform a string object. Practice measuring length, handling spaces, and concatenating strings with plus and the concat method.
Explore common Ruby string functions, including lstrip, rstrip, strip, and chop, to remove leading or trailing spaces and the last character, with examples and method chaining.
Explore seven Ruby string functions with practical examples, including reverse, insert, repeat, replace, substitute with sub, and split, plus count and include checks for existing substrings.
Explore string handling in Ruby: extract substrings by index, locate word positions, compare strings with equality or case-insensitive methods, and determine when strings match in content and length.
Explore Ruby hashes as key–value stores with unique keys and nil defaults for missing keys; create via hash.new or literals, and access values by key.
Explore three Ruby hash creation approaches in a Watir Ruby course: hash literals, Hash class objects via Hash.new, and hashes with default values, plus fetching values and handling nil when keys are missing.
Learn hash methods in Ruby, length, keys, values, and key? checks. See how adding items or removing them updates length, and you can retrieve keys and values, noting deprecated method.
Learn to create a hash with symbol keys in Ruby by using colon-prefixed names, avoid double quotes to keep symbols, and understand that symbols share a single memory location.
Learn how to iterate over a hash with an each loop, access keys and values, and display them using print for output.
Demonstrates two Ruby programs for reading data from a file: read the entire file character by character, then read line by line until end of file.
Write data to a file using Ruby's file class, covering modes such as write, read, write plus, and append, including creating new files and closing the file.
Read data from a source file and write it to a destination file using a file object, open calls, and a while loop that reads lines and writes them.
Watir is one of the most popular Open source tool for Web Application automation, this course includes
Watir WebDriver Basics to advance concepts and also covers Ruby Concepts, Cucumber Framework, Automation Framework Design (Page Objects, Data Driven, Reading Excel Files)
Ruby Basics: Variables, If-Then-Else, For loop, While loop, Arrays, Classes, Inheritance, Objects, Constructors, Methods, Working with Excel file and database
WatirWebDriver Basics: Commonly used methods and locator types, Id, Name, Class Name, Link Text, Partial Link Text, Xpath, Css Selector
Ajax Handling, Multi window handling, Actions class, Implicit wait, Explicit wait. After completing the the course you will be able to write automated tests using selenium and java
This course will take you from basic to expert level step by step, we are covering all Ruby concepts which are required for selenium automation as well as you will be ready to face automation interviews