You are on page 1of 12

Automation Testing

By: Steven Pham SynergixTech Vietnam Hanoi, Jun 08, 2012

Content
1. 2. 3.

Overview Graphical User Interface (GUI) testing Code-driven testing


Demo Testcase Input and Output File Component Architecture Class Diagram

4.

Automation Testing in Synergix

1. Overview

Automation Testing:

is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Graphical User Interface Testing (GUI Testing) Code-driven Testing

2 types:

2. GUI Testing

Pros

Easy to approach Run on current instance of Firefox Impossible to handle Database, Report files.

Cons

Selenium IDE - Demo

3. Code-driven testing

Java language support for writing test cases Connect to DBs to verify data Report test results in excel files Work on multi browsers (Firefox/IE/Chrome) Run test cases, test suites sequentially Run test cases, test suites concurrently

Demo Test case - Input

Scenario

Connect to SEMBAS and SUMMIT DBs to get initial data Storeman verify voucher on SEMBAS and SUMMIT company Driver collect cylinder at PFA of SEMBAS SEMBAS Storeman verify collect Voucher Driver return Cylinder at PF2 of SUMMIT SUMMIT Storeman verify return Voucher Connect to SEMBAS and SUMMIT DBs to verify data

SQL file Test case file

Input and Output Format


FORMAT OF INPUT AND OUTPUT FILE TestCase Report .xls file Input File Input Sheet Element Sheet Output File Output Sheet

Log Sheet
Session Report .xls file Input File Summary Sheet 1st Suite Sheet 2nd Suite Sheet Summary Sheet 1st Suite Sheet 2nd Suite Sheet

Output File

ScreenShot

.png file

Error Screen Snapshot

BinaryFile

Download File Attach File

Component Architecture

Classes Diagram

4. Automation Testing in Synergix


Functional Test Integration Test (ran weekly and on demand) Regression Test (ran nightly) Performance Test

THANK YOU!

You might also like