Calling TCL commands via robot framework

514 views
Skip to first unread message

Sreeram R

unread,
Nov 22, 2016, 9:54:40 AM11/22/16
to robotframework-users
Hi,

I am using the base framework as Robot which is in Python.

I want automate scripts using Spirent Abacus 100 which is designed only in TCL.

I need to call the tcl api via robot framework.

Could you please guide me on how to use the Spirent TCL API's via robot framework.

Thanks
Sreeram

leross

unread,
Nov 23, 2016, 8:37:28 AM11/23/16
to robotframework-users
Hi,
There may already be a library that does this. I am not aware of one, but I don't have a lot of robot experience.

You would have to create a library to make tcl calls.  You could use something like tkinter (http://wiki.tcl.tk/1395)

Bryan Oakley

unread,
Nov 23, 2016, 9:12:39 AM11/23/16
to lgc...@gmail.com, robotframework-users
No, tkinter is not what you would use. Tkinter is for creating GUIs, not servers. 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

David

unread,
Nov 23, 2016, 6:20:20 PM11/23/16
to robotframework-users
You'd probably have to interface to TCL, I don't think there's an existing RF library for this. But there's several options:
  • Call TCL from python. Some related posts: [1], [2]
  • Run keywords that execute shell commands and the shell command would be to execute some TCL script via the native TCL runtime/engine
  • Call TCL from Java or .NET and interface to that via jython/ironpython maybe, not sure if that will work
  • Call TCL from any other language with RF remote library/server support, for some language that has better TCL support/integration, you could then interface/expose that to RF via the remote library/server interface
Reply all
Reply to author
Forward
0 new messages