easytest test automation tool introduction

19
Test Made Simple - EasyTest Automation Test Tool - EasyTest Automation Test Tool Zhu Zhong 5/16/2013

Upload: zhongzhu2002

Post on 22-Apr-2015

911 views

Category:

Technology


3 download

DESCRIPTION

EasyTest is a general purpose automation test tool with cross platform capability. It was developed at Alcatel-Lucent and made free Nov. 2, 2012. It provides an easy approach for users to quickly develop, automate and maintain automation scripts. EasyTest's Network Element (NE) based services are especially suitable for operators, service providers and network equipment manufacturers to test their carrier grade systems. EasyTest has been used in many technologies such as LTE, WCDMA, GSM, CDMA, NGN and IP. It is a freeware under license "easytest license“

TRANSCRIPT

Page 1: EasyTest Test Automation Tool Introduction

Test Made Simple- EasyTest Automation Test Tool- EasyTest Automation Test Tool

Zhu Zhong

5/16/2013

Page 2: EasyTest Test Automation Tool Introduction

Agenda

� Overview

� Installation

� Write a test case in 5 minutes

� What’s more?

All Rights Reserved © Alcatel-Lucent 2011

� What’s more?

Page 3: EasyTest Test Automation Tool Introduction

Overview

� EasyTest is a general purpose automation test tool for feature /system testing. It was developed at Alcatel-Lucent and made free Nov. 2, 2012 with "Easytest License“.

� It provides an easy-to-use IDE (Integrated Development Environment) for you to quickly develop, automate and maintain automation scripts.

� EasyTest’s Network Element based service concept is especially suitable for operators, network equipment or telecom manufacturers to test their

All Rights Reserved © Alcatel-Lucent 2011

operators, network equipment or telecom manufacturers to test their devices or systems.

� As of now, EasyTest has been used in many technologies such as LTE, WCDMA, GSM, CDMA, NGN and IP.

Page 4: EasyTest Test Automation Tool Introduction

Key Features

� Allow you to test applications, devices or systems accessed through Command Line Interfaces (Telnet, SSH, SFtp, FTP, TCP socket, etc),Command Shell, HTTP, SNMP and XML-RPC.

� Easy to use. With Record and Replay feature, you don't even need to write an single line of script to automate your test.

� With advanced Response Mapping technology, you can add check points by just clicking.

All Rights Reserved © Alcatel-Lucent 2011

just clicking.

� Provides easy-to-read reports and logs in HTML/PDF/XML format

� Provides Command Line Interface and XML based outputs for easy integration into existing Continuous Integration systems

� Cross platform. Supports Windows XP/Windows 7/Linux.(Only provide Windows version for freeware for now)

� Free, yes, it’s free

Page 5: EasyTest Test Automation Tool Introduction

Installation

All Rights Reserved © Alcatel-Lucent 2011

Download @https://github.com/EasyTestTeam/EasyTest, then double-click to install

Page 6: EasyTest Test Automation Tool Introduction

You can write a test case in 5 minutes

� Step 1, Configure your test environment

� Step 2, Record your manual test

� Step 3, Create your 1st test case

� Step 4, Just run it!

All Rights Reserved © Alcatel-Lucent 2011

� Step 4, Just run it!

Page 7: EasyTest Test Automation Tool Introduction

Step 1, Configure your test environment

� You’ll need to configure

your test environment in

Configuration Center. It’s

mainly about your Network

Elements (e.g. Switch,

Router, eNodeB, RNC,

Linux Servers, etc…) and

how EasyTest connects to

All Rights Reserved © Alcatel-Lucent 2011

how EasyTest connects to

them.

� Separate test environment

from test case.

� Open interface for you to

add new Network Element

Types.

Page 8: EasyTest Test Automation Tool Introduction

Step 2, Record your manual test

All Rights Reserved © Alcatel-Lucent 2011

� Your manual test operations will be recorded and saved as a capture file.

� It works pretty much like any terminal software (e.t. putty)

Page 9: EasyTest Test Automation Tool Introduction

Step 3, Create your 1st test case

� Open the capture file

created in step 2,

EasyTest will create a

test case for you

automatically.

� No need to type in a

single line of script

All Rights Reserved © Alcatel-Lucent 2011

single line of script

� You may add logics (if,

else, loop) & check

points to make your test

case more robust and

portable.

Page 10: EasyTest Test Automation Tool Introduction

Step 4, Just run it!

� Click the run

button to run your

1st automation case

� Detailed logs are

shown in

List/Tree/HTML

format

All Rights Reserved © Alcatel-Lucent 2011

format

Page 11: EasyTest Test Automation Tool Introduction

What’s more >>What’s more >>

Page 12: EasyTest Test Automation Tool Introduction

What’s More - Service

All Rights Reserved © Alcatel-Lucent 2011

� Service is like an API in any programming language. Above shows that HOST has 3 services (HOST.ftp.get, HOST.ftp.put & HOST.linux.check_unames)

� Service can be executed manually (e.g. click “Run Service” button from above GUI) or be called in a test case (e.g. “HOST.ftp.get –remoteFile ~/data/log.txt”).

� Open interface for you to create/add new services.

Page 13: EasyTest Test Automation Tool Introduction

What’s More – Two ways to write a case

All Rights Reserved © Alcatel-Lucent 2011

Page 14: EasyTest Test Automation Tool Introduction

What’s More – Schedual aTest Case to run

All Rights Reserved © Alcatel-Lucent 2011

Page 15: EasyTest Test Automation Tool Introduction

What’s More - Response Mapping

All Rights Reserved © Alcatel-Lucent 2011

� Check/query a value by just mouse-clickings

� No scripting needed

Page 16: EasyTest Test Automation Tool Introduction

What’s More - Continuous Integration

CI = EasyTest + Jenkins

All Rights Reserved © Alcatel-Lucent 2011

CI = EasyTest + Jenkins

Download load

lineup

Installation

Upgrade

Regression

TestReport

Check out code Unit Test PackageLoad

buildStart

End

Page 17: EasyTest Test Automation Tool Introduction

What’s More - Report

All Rights Reserved © Alcatel-Lucent 2011

Page 18: EasyTest Test Automation Tool Introduction

Thank you!

多谢!多谢!

Page 19: EasyTest Test Automation Tool Introduction

Useful info

� Easytest Website: https://github.com/EasyTestTeam/EasyTest

� User Guide: Start EasyTest, you should be able to find it from menu Help->Help Topics

� Forum/Bug report: https://github.com/EasyTestTeam/EasyTest/issues

� Support email: [email protected]

Or Call me (Zhu Zhong) at +86 186-1056-5057

Or follow me at Sina Weibo @

All Rights Reserved © Alcatel-Lucent 2011

Or follow me at Sina Weibo @钟柱