That's one of the advantages of using a real programming language like Ruby. You can go along using Watir, but when it's time to telnet, you can use Ruby's 'net/telnet' library, too: http://www.ruby-doc.org/stdlib/libdoc/net/telnet/rdoc/index.html
Likewise database connections, SOAP clients, etc., Ruby has all sorts of useful libraries. -Chris On 11/21/06, Dou Yifan <[EMAIL PROTECTED]> wrote:
I don't know whether it's suitable to ask this question here. Watir is good tool for web testing, but during testing, usually there are a lot more things to do other than operating the web browser. It may be telnet to another machine to execute some commands, or just exec some command on the local machine. Some person mentioned about application map( http://www.mail-archive.com/[email protected]/msg03439.html), and that's exactly what I want the test to be. the test table will look something like this test, win object Action Arg #header T, googlewin, SearchField, set, "PickAxe" T, googlewin, SearchButon, click T, cmdwin, cmdwin execCmd "net user newUser /add" For operations on the IE browser, it's easy to implement this kind of testing, since there is already a class Watir::IE in the Watir lib, but for the command window, I don't know whether there is a class that can represent this, or how to implement such a class. ------------------------------ Do You Yahoo!? 捇誥轎煤G蚘眊ㄜ笢弊菴珨橈拸嶼僵蚘璃玊閉湮蚘眊 <http://cn.mail.yahoo.com/?id=77071> _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
