Avalanche Automation: Is there any commands to export Tcl scripts from SPF file?


Doc ID    FAQ18090
Version:    2.0
Status:    Published
Published date:    09/11/2017
Created Date:    09/11/2017
 

Environment/Versions

  • Avalanche 4.76
  • Automation

 

Answer

tclsh
%set auto_path [linsert $auto_path 0 "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.76/Layer 4-7 Application/TclAPI"]
%package require av
%av::login tmp
%av::connect 10.75.236.153 -type appliance
%av::perform import system1 -source {C:\Users\motsu\Desktop\tcl\automation/B2B.spf}
  project1
%set testHandle [av::handleOf project1 tests 2x1G]
  test1
%av::perform ConvertToTclDetailed test1 -outputDirectory "C:/tmp/output" -tclApiDirPath "C:/Program Files (x86)/Spirent Communications/Spirent TestCenter 4.76/Layer 4-7 Application/TclAPI"
 

Find Answers

Specified Languages
English
中文

Please Sign In

Username
Password

Did you forget your password?
Click here for assistance

New user? Start here.