We have open-sourced our test automation framework. You can now write Selenium and Appium tests in Python using the Page Object pattern. Our Pythonic web, mobile and REST API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like – email, Slack, TestRail, BrowserStack, Sauce Labs, etc.
You can find it over here:
We have written several popular posts about our GUI automation using Python. But we have never had a chance to share our entire GUI automation code base until now. This framework has let us quickly implement both web and mobile automation for our clients. In most cases, we have GUI automation setup and going within the first week of our engagement. We hope you find it equally useful too.
The automation framework is written in Python and follows the Page Object pattern. We have written robust and intuitive wrappers around Appium and Selenium. We use pytest as our test runner and you get a decent pytest configuration right out of the box. The framework has excellent built-in debug capabilities like verbose logging and intelligent screenshots. We also have some useful utility scripts to check emails, run the automation on BrowserStack or Sauce Labs and report results to TestRail.
The framework is always going to be work in progress. We update the framework as and when we learn something new or figure out something useful at our clients. We also plan to add the code we use for API automation. So watch the Github project to get all our updates.
How to use the web, mobile and REST API automation testing framework
Pull the code from Github. The readme file has detailed notes on how to get setup and run the tests. You can get setup in 5 easy steps. It’s that simple! Hopefully, you find the code and patterns intuitive too. Several engineers at our clients have managed to use and enhance the framework without any additional help.
Want to contribute?
Want to contribute to our project? Send an email to [email protected] with your Github account.
We’ll follow up with posts that show you how to write tests from scratch. In the meantime, if you have any questions, feel free to ask them in the comments below. Team Qxf2 will be happy to help you.
If you are a startup finding it hard to hire technical QA engineers, learn more about Qxf2 Services.
I want to find out what conditions produce remarkable software. A few years ago, I chose to work as the first professional tester at a startup. I successfully won credibility for testers and established a world-class team. I have lead the testing for early versions of multiple products. Today, I run Qxf2 Services. Qxf2 provides software testing services for startups. If you are interested in what Qxf2 offers or simply want to talk about testing, you can contact me at: [email protected] I like testing, math, chess and dogs.