Python Forum
Thread Rating:
  • 2 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automation Scripts
#1
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.
Reply
#2
Like?
Recommended Tutorials:
Reply
#3
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.
Reply
#4
This is a list of lots of testing tools and frameworks.

https://github.com/atinfo/awesome-test-a...omation.md

Another one:
https://wiki.python.org/moin/PythonTestingToolsTaxonomy
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
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
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020