0% found this document useful (0 votes)
291 views

Class 1 PPT

This document provides an overview of a class on automation testing. The class will be held from 7:30 AM to 9:30 AM IST. It will provide an introduction to automation, benefits of automation, automation tools including Selenium and future tools. The class will cover setting up Java and Eclipse, data types, operators, decision statements, and loops. Recordings and assignments will be provided. Mock interviews and resume preparation support are also included.

Uploaded by

idelshark
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
291 views

Class 1 PPT

This document provides an overview of a class on automation testing. The class will be held from 7:30 AM to 9:30 AM IST. It will provide an introduction to automation, benefits of automation, automation tools including Selenium and future tools. The class will cover setting up Java and Eclipse, data types, operators, decision statements, and loops. Recordings and assignments will be provided. Mock interviews and resume preparation support are also included.

Uploaded by

idelshark
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 38

Class 1

                       Time: 7:30 AM IST to 9:30 AM IST

Mukesh Otwani
http://www.learn-automation.co
m
High Level Agenda
Introduction
What is Automation
Benefits of Automation
Automation Tools
Future tools which we will covers in our training session
Selenium Benefits
Limitation
Setting up the stage
First Java Program
Data Type
Operators
Q&A
Recording and Assignment Provided- Yes
Mock Interview – Yes
Resume Preparation- Yes
Job Support (Yes)- Condition applied
Access to recorded videos- 3 years
Can I join same batch again if I could not complete - Yes
What is Automation
• It is a process of converting manual effort into automated task.
• In Test automation by using special software/tools to control the execution of
tests and the comparison of actual outcomes with predicted outcomes.
Benefits of Automation testing

1-Fast - Machines are faster than human.


2-Reliable – It always provides the correct result.
3-Consistency- Test will run in consist manner even if you are run 1000 times.
4-Reusability- We can use the same script for multiple environment.
5-Repeatable - Same test can be executed multiple time with different set of data
6-Manual Effort saving- We can save manual effort time which we can use in more productive manner.
Automation

Functional Non Functional

Web
Performance Accessibility
testing

API
Security

Mobile
Visual
Testing

Business Process
Automation
WebUI

Selenium Katalon Protractor Many more


API Testing

Paid and Community


Soap and Rest SOAPUI
HTTPClient edition

RestAssure Karate
d

Katalon Many More


Mobile Automation
• Android and IOS
Appium • Free

• Android and IOS


Katalon • Free

• Android and IOS


Few moe • Free and Paid included
RPA tools

Community Paid Paid


and Paid
Tools Planned

Third Pary
Java Selenium TestNG AutoIT Maven Git/Github Jenkins Cucumber
Lib
Selenium 
 Selenium is a free (open source) automated testing suite for web
applications across different browsers and platforms.
 Selenium Automate browsers only. 
 Testing done using Selenium tool is usually referred as Selenium   
Testing.
 Selenium is not just a single tool but a suite of software's, each
catering to different testing needs of an organization. It has four
components.
   Selenium Integrated Development Environment (IDE)
        Selenium Remote Control (RC),WebDriver,Selenium Grid
Selenium Phases

Selenium 4

Selenium 3
Selenium2

Selenium RC
Selenium Benefits
• Open Source
• Cross platform
• Cross browser support
• Remote execution
• Parallel execution
• Integration with multiple tools
• And many more
Limitations
• Can not automate windows applications
• We can not read images
• Bar code, Graphs, pie charts, OTP can not be automated
We can use Selenium
Functional testing
• Smoke test scenario
• Regression test
• End to End Scenario
Input from your side
1. Practice
2. Assignments
3. Time for exploring other topics as well ☺
After this course
• You can automate any web application using Selenium
• You can automate windows based application (Partially)
• You will be able to design STAF (Selenium Test Automation
framework)
• If you are looking for job change then you will be able to answer the
questions.
Setting the stage

• Set the stage


• Set up Java & Eclipse
• Primitive Data Types & String
• Operators
• Decision Statements
• Loops
Java Programming Language
• Java
• Jre/Jvm/Jdk
• javac/java/javaw
• How to Download Java
• Run hello world from cmd
Java Compilation and Execution

Java Byte Code


Java Source
Compiler
HelloWorld.java HelloWorld.class
javac

JDK JRE JVM

Executes
Javaw,
Program
libraries
Eclipse IDE

• Eclipse : It is the most widely-used open source


integrated development environment.
• IDE – Integrated Development Environment
• How to download Eclipse
• Setting Up Work space
• Creating a new Project
• Creating a new Package
• Creating a new Class
Selenium Installation

• Download Selenium Jars


• Add jars into Java Project
• Add src code into project.
• Create first Selenium script.
Keywords
• Every programming language has some reserved keywords

• Each keywords has some specific task or meaning.

• Each keyword starts with small letters.

• Java has 53 reserved keywords.


Data Types

• OOPS concepts (Introduction)


• Primitive Data Types
• byte
• short, int, long
• float, double
• boolean
• char
• String
Variables in Java
Variable - Variable in java is a name of memory location. It takes space
from RAM memory.
RAM

Reserved Area

50
Variable

Local Instance static


1) Local Variable
A variable which is declared inside the method is called local variable.

2) Instance Variable
A variable which is declared inside the class but outside the method, is called
instance variable . It is not declared as static.

3) Static variable
A variable that is declared as static is called static variable. It cannot be local.
class Selenium
{  
//instance variable  
int data=50;

//static variable  
static int m=100;

void method()
{  
int n=90;//local variable  
}  
}
Declartion
int myNumber;

Initialization
myNumber = 5;
Operators

• Operators are special characters within the Java


language to manipulate primitive data types.
• Different Operators in JAVA
• Assignment Operators : =
• Arithmetic Operators :  - + * / % ++ --
• Relational Operators : > < >= <= == !=
• Logical Operators : && || !
• Conditional Operator : ?
Thanks ☺

[email protected]

You might also like