Python Forum

Full Version: Automation Scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm interested in seeing if I can write a software testing automation script in Python. Any ideas on how I would get started? I already know some Python and have written automation scripts in VB.Net.
Like?
Like - opening an app, inputting values into the textboxes, clicking on buttons, selecting items from a listbox, writing the results to a report and closing the app. General software testing kind of stuff.
If you are looking for a test framework (not unittest!) - I would recommend Robot Framework. It provides you with a nice wrapper to run tests and stores test results in HTML format.

Its  standard libraries are a somewhat awkward, but it allows you to write plug-ins in pure Python, so that you can mix standard and custom APIs in building TestCases. It takes some investment to learn, but if you are in for a long haul - it's worth the effort.

It also has Selenium library - though I never tried that one