Qxf2 has open sourced a Python-based automation testing framework

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:

https://github.com/qxf2/qxf2-page-object-model


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.


Subscribe to our weekly Newsletter


View a sample



7 thoughts on “Qxf2 has open sourced a Python-based automation testing framework

  1. I feel I have found the right place! Thanks for sharing, there is so much to learn from this site. Hail opensource!

  2. Hi Arun, Avinash and team,
    Thanks for sharing your knowledge with the larger audience. I’m a regular visitor to Qxf2 blogs and like the way it is written.
    I just had one query. While working on Java/Selenium, TestNG is the most used framework and it also has good features. Do we have any framework that provides similar features while automating with Python? I’ve heard about Pytest, but not sure about the features it provides. I’ve tried looking for information in google, but haven’t seen convincing results. It would be great if you can provide more information on this.

  3. Thanks Indira!!. Just one question not related to the topic. Earlier the search option was available in qxf2 blog post.But now, i’m unable to see that. It would be easy to search through the articles. Kindly let me know if i’m missing something.

    1. Hi Pradeep,
      Yes, we don’t have the search option available now. You can google for qxf2 + any topic you want in the search box.

      Thanks,
      Indira Nellutla

Leave a Reply

Your email address will not be published. Required fields are marked *