views:

98

answers:

1

Is there a way to automate GUI testing of a Windows Forms application and a web application (HTML) using free tools?

For example, Ruby + Rspec + Watir work great for web UI testing. IronRuby + Rspec can work for winforms apps. Does anybody know a tool that can do both, WinForms and Web?

+1  A: 

I've used Autoit for GUI testing of such applications. The donwloadable bundle includes a record-and-play tool, but it's more advisable to use button names/ids rather than recorded (X,Y) coordinates in order to minimize dependency on changes and screen resolution.

akapulko2020
I've tried to use AutoIt with Ruby. AutoIt is good for automating routing tasks, but not for development automated functional tests.It's difficult to debug scripts even using it separately, without Ruby. It takes quite a long time to write a working script.When I tried to use AutoIt from Ruby, in most cases AutoIt functions returned wrong return values. It makes writing tests even more complicated and cumbersome.So I gave up this idea and looking for another ways.
katmoon