Sunteți pe pagina 1din 7

iTest Training

TRAINING ...................................................................................................................................................... 2
Overview ................................................................................................................................................... 2
Objectives.................................................................................................................................................. 2
Instructor................................................................................................................................................... 3
Training topics ........................................................................................................................................... 4
Day 1: 6 hours of session and 2 hours for discussion............................................................................ 4
Day 2: 6 hours of Session and 2 hours for discussion ........................................................................... 5
Day 3: 6 hours of session and 2 hours for discussion............................................................................ 5
Day 4: 6 hours of session and 2 hours for discussion............................................................................ 6
SUPPORT ....................................................................................................................................................... 7

TRAINING
Overview
This will be a hands-on training. It is designed to ramp up quickly with iTest. After attending the training,
users are expected to be able to create iTest test cases with pass/fail criteria. Users will also learn test
case editing and debugging techniques in order to create automated test cases.

Objectives
The training objectives will be to train users around using iTest in black box unit testing workflow. This
includes:

Setting up iTest workspace

Establish connection to devices

Capture manual test steps

Build a test case that a manual tester can replay easily

Harden test cases using parameters, procedures and loops

Create response maps and use queries in analysis rules.

Instructor
The instructor for the training will be Venkata Nemali (Syed.Saqquaf@spirent.com).

Training topics
Day 1: 6 hours session and 2 hours Exercise

WORKFLOW
Workspace &
Workbench
Views

Perspectives

Preferences

5
6

Connecting to
devices
Session profiles,
Testbed and
topologies

Capture

Test case, Execution


and test reports.

Variables

10

Parameters

TOPICS / EXERCISES
Discuss on iTest workspace and workbench.
Show where the workspace is located.
iTest has different views.
Explain how to open the views and tips and tricks.
Explanation of perspectives.
Different types of perspectives and their use.
Explanation of preferences.
How to change the preferences and what are the limitations.
Discuss on different ways to connect devices
And what type of devices we can connect from iTest.
Discuss how to use session profiles, Reference session profiles,
Using session profiles in topologies and testbed.
Advantages of topologies.
Exercise 1: Create a telnet session on Samsung EPC and perform some
actions. Explain session parameters like Prompts, Command Completion etc.
Exercise 2: Create a basic topology and add some devices to it.
How to capture the commands that was performed on devices and how to
replay the capture.
Discuss the ways to capture.
Exercise: Start capture and capture some commands on Samsung EPC.
Exercise: Demonstrate how configuration on multiple DUTs can be done in
parallel. Eg: Configure Samsung EPC and MME in parallel.
How to Create test cases, how one test case will be executed and how to
check the test reports.
Exercise: Create a basic test case and execute it. Show the test report.
How to use local variables in iTest and substitute hard-coded commands with
local variables
How to use global variables and substitute hard-coded commands with
global variables.
Exercise: Compare values from two responses
How to use parameters and substitute hard-coded commands/values with
parameters
Exercise: Define parameters in the test bed file and use those parameters in
the test case.

Day 2: 6 hours of session and 2 hours of Exercise

WORKFLOW

TOPICS / EXERCISES

Procedures

2
3

Looping and
branching
Test suites

Response maps

Discuss use of reusable code by way of creating procedures


Local procedure vs. Global procedures.
How to call a procedure
How to pass arguments to a procedure
Exercise: Create a procedure and pass arguments
Discuss for, while and foreach loops.
Discuss if-then-else structure in iTest.
Discuss iTest approach to test suites and how to use them.
Execution of test suites.
Exercise: Create test suite that executes several test cases using
Discuss on approach of response maps in iTest.
How to create response maps and use them.
Advantages.

Table mapping

Pattern mapping

Block mapping

How to create table response map.


How to use the queries. From response and how to retrieve values using
table map.
Limitations.
Exercise: Create a table response map and retrieve queries from ODD text
file
How to create pattern response map.
How to use the queries. From response and how to retrieve values using
pattern map.
Limitations.
Exercise: Create a Pattern map and retrieve queries from ODD text file
How to create Block response map.
How to use the queries. From response and how to retrieve values using
Block map.
Limitations.
Exercise: Create Block map and retrieve queries from ODD text file

Day 3: 6 hours of session and 2 hours of Exercise

WORKFLOW

TOPICS / EXERCISES

XPATH

Queries

Discuss what XPATH is.


How to use XPATH on retrieving values from response after applying
response maps.
Where can we check the XPATH contents?
Exercise: Create response map and retrieve values using XPATH
Discuss on defining queries and retrieving them.
Use of custom queries. How to generate queries using XPATH.
Exercise: use query to retrieve value in test case.

Custom queries

Analysis rules

How to create custom queries.


How to use them in the test case.
How to get the values for custom queries and different ways on specifying
the arguments for custom queries.
Exercise: Create custom queries and use them in test case.
How to use analysis rules.
Different ways of creating analysis rule for a step.
Types of actions in the analysis rules.
Types of comparisons.
Multiple analysis rules
Multiple conditions for single analysis rules.

Quick Calls

Exercise: Add analysis rules and compare some values.


Discuss use of Quickcalls.
How to create Quickcall and use them in the interactive session
Exercise: Create a Quickcall with some arguments and use them in the test
case

Day 4: 6 hours of Session and 2 hours of Exercise

WORKFLOW

TOPICS / EXERCISES

Command line
sessions

TCL session

How to interact with command line session.


How to give authentications for SSH and how to give other options for Telnet,
SSH sessions.
Exercise: Create a Telnet/SSH session and perform some commands from the
session
Optional: Basic introduction to TCL commands and functions like ScriptSet,
ScriptGet

UDP session

Using UDP session to exchange messages between the machines.

Best Practice
Methodology

Best practice methodology for developing the test cases.

SUPPORT
Contact Support via email, CSC site or Phone
CSC:

http://support.spirent.com

Email

support@spirent.com

Americas

1-800-SPIRENT (774-7368) or +1-818-676-2616

China

800-810-9529 (mainland) or +86 (10) 8233-0033

EMEA

+33 (0) 1-6137-2270

India

1 800 102 7221

S-ar putea să vă placă și