[wtr-general] Re: Watir like test tool for windows-applications

2009-06-19 Thread Richard Wijdenes

Zhimin,

thank you for the info! It looks promising

Richard


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Watir like test tool for windows-applications

2009-06-18 Thread Zhimin


I have used AutoIT3 to test a complex PowerBuilder application on
Windows, created a simple framework helping me doing that: rFormUnit.
I could use Ruby syntax and page objects, such as

 in test case
   main_window.click_login

in main_window.rb
   def click_login
 # defined in constructor, @win = RFormUnit::Window.new('MyApp')
 @win.click_button('127') # control id, can use AutoIT3 Window
Info tool to identify
   end

Some notes here
  * it is a lot hard to write tests than web apps
  * AutoIT3 might have difficulty to identify controls in .NET
applications
  * it is a NOT cross-platform


If you interested,
  1. download and install AutoIT3 (http://www.autoitscript.com/
autoit3/)
  2. download and install iTest (http://itest2.com/download)
  3. Open project C:\Program Files\iTest2\samples\form_calculator
\calculator.tpr, run it you shall see the ruby test scripts driving
Window's calculator.

Zhimin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---