Tuesday, October 7, 2008

Windows GUI Testing Automation

The URLs for the Windows GUI testing automation softwares are,

General:
http://www.autohotkey.com/ .

It is a free, open-source utility for Windows.
It contains the following utilities:
* AutoIt3 Window Spy - To find the controls in any application window.
* AutoScriptWriter (recorder) - To record the events which can be played back afterwards repeatedly.
* AutoHotkey Help File - To learn
AutoHotKey programming.

Python Related:
http://pywinauto.openqa.org/
Quick Demo

To use this install "Python 2.5" [ http://www.activestate.com/Products/activepython/index.mhtml (or)
http://www.activestate.com/store/productdetail.aspx?prdGuid=b08b04e0-6872-4d9d-a722-7a0c2dea2758 ]

After installing this, install the dependency module called "SendKeys" [ http://www.rutherfurd.net/python/sendkeys/index.html#binaries ] (SendKeys-0.3.win32-py2.5.exe)

Then install "pywinauto" follow the steps in "Installation" section in the web page " http://pywinauto.openqa.org/ "

Tutorial is available at http://pywinauto.openqa.org/getting_started.html , http://pywinauto.openqa.org/module-pywinauto.controls.html etc.

No comments:

Followers