Post on 22-Apr-2015
description
Test Made Simple- EasyTest Automation Test Tool- EasyTest Automation Test Tool
Zhu Zhong
5/16/2013
Agenda
� Overview
� Installation
� Write a test case in 5 minutes
� What’s more?
All Rights Reserved © Alcatel-Lucent 2011
� What’s more?
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.
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
Installation
All Rights Reserved © Alcatel-Lucent 2011
Download @https://github.com/EasyTestTeam/EasyTest, then double-click to install
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!
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.
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)
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.
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
What’s more >>What’s more >>
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.
What’s More – Two ways to write a case
All Rights Reserved © Alcatel-Lucent 2011
What’s More – Schedual aTest Case to run
All Rights Reserved © Alcatel-Lucent 2011
What’s More - Response Mapping
All Rights Reserved © Alcatel-Lucent 2011
� Check/query a value by just mouse-clickings
� No scripting needed
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
What’s More - Report
All Rights Reserved © Alcatel-Lucent 2011
Thank you!
多谢!多谢!
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: easytest-supports@alcatel-lucent.com
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 @钟柱