Hello,

I have a test case to run with Internet Option language setting.  Can I use 
autoit to do the Internet Option language setting first and then run web 
application test in Watir?

Here is the test cases I want to do:
1.      Open IE window
2.      Click on Tools | Internet Options
3.      Click Languages
4.      Add a language
5.      Move the newly created language to the top of the Language Preference 
list
6.      Close IE browser
7.      Web application browser is open
8.      Testing steps…


Steps 1-6 using AutoIt
Steps 7 … using water


Script for steps 1 – 6 using AutoIt:
#include<IE.au3>
$oID = _IECreate ("http://wiki/index.php/Main_Page";)
WinWaitActive("xxxxxx")
Send("Today's time/date is {F5}")
Send ("!to")   ;sends Alt T (Tools) and O (options) to open Internet Options
Send ("!L")
Send ("!a")
...

My question is how to code the AutoIt script part in Watir?  Do we have 
documentation for this?  Do we have code example that is similar to this case? 

Thanks!
Kui
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to