Spirent TestCenter Automation HTAPI Programmer’s Reference
Spirent TestCenterTM Automation HLTAPI Programmer's Reference
October 2019
PN 71-008782 Rev A
SPIRENT 27349 Agoura Road Calabasas, CA 91301 USA
? 2019 Spirent. All Rights Reserved.
All of the company names and/or brand names and/or product names referred to in this document, in particular, the name "Spirent" and its logo device, are either registered trademarks or trademarks of Spirent plc and its subsidiaries, pending registration in accordance with relevant national laws. All other registered trademarks or trademarks are the property of their respective owners.
The information contained in this document is subject to change without notice and does not represent a commitment on the part of Spirent. The information in this document is believed to be accurate and reliable; however, Spirent assumes no responsibility or liability for any errors or inaccuracies that may appear in the document.
Table of Contents
Chapter 1 Introduction ................................................................................................................ 1 Chapter 2 Spirent HLTAPI ........................................................................................................... 2
Introduction .......................................................................................................................................................... 2 Install Tcl.............................................................................................................................................................. 2 Install Spirent TestCenter and HLTAPI ............................................................................................................... 3 Run Scripts under LabServer Mode (Optional) ................................................................................................... 5 Install HLTAPI for Perl ......................................................................................................................................... 6 Install HLTAPI for Python .................................................................................................................................... 8 HLTAPI Logs ..................................................................................................................................................... 10
Chapter 3 Save as HLTAPI ........................................................................................................ 11
Introduction ........................................................................................................................................................ 11 Script with Save as HLTAPI............................................................................................................................... 11 Options for the Save as HLTAPI Wizard ........................................................................................................... 12 Support for Command Sequencer ..................................................................................................................... 13 Limitations of Save as HLTAPI .......................................................................................................................... 14
Chapter 4 Spirent HTLAPI Wrapper .......................................................................................... 20
Introduction ........................................................................................................................................................ 20 Argument Processing ........................................................................................................................................ 20 Using Spirent HLTAPI Wrapper......................................................................................................................... 22 Useful Environment Variables ........................................................................................................................... 22 Supported Protocols/Functions ......................................................................................................................... 24
Chapter 5 Spirent TestCenter Python API Support ................................................................. 25
Introduction ........................................................................................................................................................ 25 Prerequisites ...................................................................................................................................................... 25 Sample Usages ................................................................................................................................................. 26
Chapter 6 Integration with Robot Framework .......................................................................... 27
Introduction ........................................................................................................................................................ 27 Prerequisites ...................................................................................................................................................... 27 Install Robot Framework.................................................................................................................................... 27 Use HLTAPI with Robot Framework.................................................................................................................. 28
Chapter 7 Integration with Spirent iTest .................................................................................. 31
Introduction ........................................................................................................................................................ 31 Prerequisites ...................................................................................................................................................... 31 Install and Configure iTest RT ........................................................................................................................... 31 Generate iTest Test Cases in Save as HLTAPI GUI......................................................................................... 32 Generate iTest Test Cases in CLI mode ........................................................................................................... 33
References ................................................................................................................................... 34
i
Chapter 1 Introduction
The Spirent TestCenter Automation HLTAPI Programmer's Reference document functions as a complementary document to the Spirent Test Center Automation HLTAPI Command Reference. It provides installation and configuration instructions for Spirent HLTAPI. It also provides information on Spirent HLTAPI related features, which include:
Save as HLTAPI Spirent HLTAPI's Integration with Robot Framework Spirent HLTAPI's Integration with Spirent iTest Spirent HLTAPI Wrapper Spirent TestCenter Python API Support
The target audience is test specialists who run automation tests using Spirent HLTAPI, or any of the features listed above. It is assumed users of this manual should have the following knowledge and experience:
Familiarity with the operating system on your PC or workstation (Microsoft? Windows? or Linux?)
Moderate familiarity with test equipment Working knowledge of data communications theory and practice Ability to program with the Tcl, Python, or Perl scripting languages Moderate familiarity with third-party platforms such as Robot Framework or Spirent iTest
Spirent TestCenter Automation HLTAPI Programmer's Reference
1
Chapter 2 Spirent HLTAPI
Introduction
This chapter provides instructions for installing Spirent High Level Test API (HLTAPI). Starting with release 4.81, Spirent HLTAPI is distributed as an integrated component of Spirent TestCenter, and will automatically be installed when you install Spirent TestCenter.
To install the HLTAPI environment, complete the following steps:
Install Tcl Install Spirent TestCenter and HLTAPI Run Scripts under LabServer mode (optional) Install HLTAPI for Perl (optional) Install HLTAPI for Python (optional) Important: For complete information on all supported operating systems and languages mentioned in this document, it is important to refer to the Spirent TestCenter Hardware and Software Release Notes document. This document is available as a Related Resource on the Downloads page of the Spirent Customer Service Center (CSC) website .
Install Tcl
For Windows: Get the Tcl package (.exe) from the CSC and install it under C:\Tcl or other preferred directory. Make sure the installed Tcl contains IP packages, which are required by the Save as HLTAPI tool. For Linux/Unix: Get the Tcl package (.tar) from the CSC and install it under /root/tcl or other preferred directory. Make sure the installed Tcl contains IP packages, which are required by the Save as HLTAPI tool.
Spirent TestCenter Automation HLTAPI Programmer's Reference
2
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- public notes running python in azure batch on windows
- pyvisa documentation
- pycell studio tutorial university of virginia
- developing python application with sybase ase
- installing third party modules in python
- pyepics python epics channel access
- spirent testcenter automation htapi programmer s reference
- abaqus python tutorial brown university
- jpy documentation
- mixed integer linear programming with python
Related searches
- cross company automation group
- cross automation greensboro nc
- cross automation belmont nc
- cross automation nc
- cross automation charlotte
- cross automation belmont
- programmer defined functions matlab
- marketing automation platform
- marketing automation software for small business
- what is marketing automation software
- java programmer job outlook
- sas programmer job outlook