question

mallikarjunarao avatar image
mallikarjunarao asked udaya edited

itest command/procedures access TCL interpreter

Hello, How do i access iTest commands/procedures in TCL interpreter or any other language interpreter. I mean i have written two procedures in iTest GUI version. let say proc test { return someValue } proc anotherTest { return someValue } How do i access these procedure return value at command level, something like TCL interpreter. c:/>itest anothterTest somevalue Is there any provision methods are avaliable to access such type information from iTest, I need get only procedure return values/information. Thanks [ http://tclscripting.blogspot.in/][1] [1]: http://tclscripting.blogspot.in/
iTesttcl scriptcommandprocedures
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mallikarjunarao avatar image mallikarjunarao commented ·
using iTest tcl procedure will this possible? package require itest ::itest::tcexec... Could you some help me accomplish above job
0 Likes 0 ·

1 Answer

·
udaya avatar image
udaya answered udaya edited
Hi Malli, I am NOT sure if directly invoking itest package in cmd is supporting now or not - may be Spirent can help on this. Directly invoking iTest functions outside may be difficult (something reverse to script library functionality, right ?) I think you can do something like this the same command you can execute in iTest by pointing to the desired interpreter (instead of the global/default interpreter) in the session profile.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.