Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automation test 1

Status
Not open for further replies.

banjoe

Programmer
May 22, 2001
2
US
There are tools like WinRunner and SilkTest that
would automate my tasks in using a software.
Is TCL/TK can be such a tool?

I'm very new to TCL/TK and this is my first
post.... please be nice.

Thanks.
 
automating interactive applications can be done using the
expect subset of the tcl-tk kit.

Command set:

send
expect
spawn
interact

 
Thanks marsd. That was helpful in automating
my telnet program. The problem I'm now facing
is automating a Windows program... for example
a MS Word 2000 where I would open a .doc file
and printing it.

Would expect be able to interact with buttons
and other GUI objects of Windows.

I'm beginning to like this forum.
 
I don't know. That is a good question.

In theory yes....But whether the win port
of expect can extract useful information from
the winword executables output is unknown
to me.
As a general rule if you can write a regexp for a programs output expect can automate it for you.

Good Luck.

 
I didn't know more about Tcl/Tk. But you can automate windows application as per your requirement by using tools like WinRunner, Silk Test & Visual Test etc.
 
No you can not do that using Tcl what you can do with Silk or win runner...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top