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蚘眊ㄜ笢弊菴珨橈拸嶼僵蚘璃玊閉湮蚘眊 _______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general