Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

AUTOMATION TESTING

Khaled Monir

Automation Test Engineer

16.09.2018.

AGENDA

01.

Course Description

02.

AGENDA

Products and Technologies

03.

Target Audience

04.

Course Work Flow

05.

Automation Testing

Course Description

  • This Course is Designed for Automation tester who have basic coding skills, This course Focuses on Creating, Executing and maintaining automation test.

  • This Course includes hands-on lab and real testing project.

Product and Technologies

  • Java
  • Eclipse IDE
  • Selenium Web Driver
  • TestNG
  • Maven
  • Jenkins
  • Git/GitHub

Target Audience

  • QA Engineers interested in Selenium web driver
  • Tester who want to automate tools
  • Manual testers who looking for start career in Automation
  • Test Managers

Work Flow

  • Introduction to Automation Testing
  • Introduction To selenium
  • Environment Setup
  • Introduction to Java Programming
  • Knowledge in Selenium Core
  • Implement The OPP Design Pattern
  • Data Driven Test
  • Behavior data Driven
  • Introduction to selenium Grid

Introduction to test Automation

Introduction to test Automation

Test Automation Pyramid

Automation testing Pyramid

  • Manual testing is consuming time and cost
  • Automation testing is increasing speed of execution
  • Helps to increase test coverages
  • Automation testing not required Human interaction

Why Automation Testing

Why Automation testing?

Which Test Cases to be automated

Which test cases to be automated ?

  • Test cases is very Critical to the business.
  • Test cases is consuming time in the execution.
  • Test cases is difficult to be run manually
  • Test cases that got repeated at least once.

Test Automation Process

Automation testing Frameworks

Selenium

Web Driver

Selenium

Introduction

Introduction

  • Selenium is an automation test tool or framework for web bases applications.
  • Selenium(Pure HTML, No back-end Required.
  • Selenium operations are highly flexible, allowing many options for locating UI elements and comparing expected results against actual behaviors.

Selenium Features

Selenium Features

  • Open Source Tool
  • Support Cross browser and multiple browsers
  • allow scripting in many programming land
  • provide easy assertion statements
  • Built in report feature

Selenium Family

Selenium Family

How Selenium Web Driver Works

WHAT'S

NEXT

Environment Setup

Verify System Type

  • Install JDK
  • Install Eclipse IDE
  • Maven Installation

Environment Setup

1st

2nd

6th

3rd

4th

5th

Kick-Off

  • Install Browsers
  • Install TestNG

Live Demo

Live Demo

Introduction to JAVA

JAVA-OOP

Packages

Packages

  • A Package is a collection of related Classes

Live Demo

Classes,Object and methods

CLASSES, OBJECT AND METHODS

Object:

  • An object is anything that can be seen or perceived.
  • Objects can be performed by action methods.
  • Both objects and methods is under the umbrella or the class.

Class:

  • A class is a blueprint for creating an object.
  • Is a template that define structure of object.

Method:

  • A method executes a job for the object.
  • Good Tec. Verb&Noun(Get Order)

Example:

Dog has state(Name, Color)

Behavior(jump-Run)

Access Modifiers

Access Modifiers

Four Types:

1. Public

2. Protected

3. No Modifiers

4. Private

Variables and data types

VARIABLES AND DATA TYPES

VARIABLE:

MEMORY LOCATION THAT HOLD VALUE

NAME,TYPE,VALUE

ITS UNIQUE

DATA TYPES:

BOOLEAN,BYTE,DOUBLE,INT,LONG,SHORT

Strings

MAVEN AND TESTNG

MAVEN&TESTNG

MAVEN

WHAT IS MAVEN?

Maven is a very powerful and widely used java project management and build management tool.

Features:

1. its provide support for test life cycle in automation projects.

2. allow settings up the execution of the environment.

3. Manage all related depnedencies using the POM.XML

4. The ability to download the project dependencies automatically from the central DB.

TESTNG

TestNG is a testing framework developed in the lines of junit and NUNIT.

It can mainly used to execute the unit testing but lately it used to automate the test cases.

TestNG Provides Annotations:

TestNG Benefits

1. They Are easier to understand

2. You can group the test cases using appropriate annotations

3. you can do parallel testing .

4. you can pass extra parameters to annotations

Learn more about creating dynamic, engaging presentations with Prezi