Unit testing is considered as a vital phase in software testing. Anyone who has been involved in the software development life cycle will have encountered some form of testing. Although the aim of testing is to find bugs, it cannot guarantee the absence of other faults, no matter how creative the test cases are designed. Unit testing enables a more […]
Getting started with Unit Testing using mock in Python
A QA interview exercise – read code in different languages
In this post, we are sharing an exercise we use to interview QA engineers. We have a slideshow that shows code in about 13 different languages. The candidate has to guess what each code snippet does. This exercise has proven to be useful in differentiating between QA who are fundamentally scared of code from the ones who are comfortable with […]
Highlight feature of Qxf2’s Page Object Model framework
Are you lost with locating the web elements while debugging your test script? The highlight feature of Qxf2’s Page Object Model framework helps you to debug locators by giving a visual clue. This blog post will guide you with the steps involved in using the highlight feature of Qxf2’s Page Object Model framework in your test script. The highlight feature […]
State of Testing Survey: 2020
Howdy! Testers, we are excited to inform you that the State of Testing Survey 2020 is live now. Please do take part in the survey and help out the testing world to gain a better understanding of the state of testing. Q.Why take this survey? A.Your opinion matters!!!. Yes, your precious feedback contributes to the knowledge base, which then becomes the State of Testing report (2020). This is the biggest survey in […]
Converting test screenshots into Gif
When we run the tests using qxf2 page object model framework we capture the screenshots of the test run at certain steps using decorators Screenshots utility. Often, it is time-consuming to view each of these screenshots. We thought of adding a utility that can convert all this screenshot into a single Gif that is more convenient to use and debug any […]
How to run Qxf2 framework tests in parallel using pytest-xdist plugin
In this blog, we will show you how easily Qxf2’s page object model framework can be run in parallel using pytest-xdist plugin. As pre-requisite, Fork, and clone our framework. Follow the Readme.md and set up the framework. To run GUI tests in the framework parallel use the below command. As we have only 3 GUI tests I have passed 3 […]
Email your pytest results as html report
We have noticed that sometimes we want to see test results in our email inbox even though good reporting tools are being used. We at Qxf2 Services, use pytest as our test runner. A simple utility email_pytest_reports.py has been added to our framework which can send pytest results as simple HTML reports. This blog is on how we built an […]
Run python behave from Visual Studio Code
I was working at a client that uses behave and was primarily designed to work on Linux systems. It has several configuration variables stored as environmental variables. I tried running the behave tests on Windows using Visual Studio Code since I wanted debugging functionality. I documented the steps so that it will help anyone who wants to try the same. […]
Build and Test iOS app with Qxf2 Framework and Appium.
Why this post? In this post, we are going to look into, how to test an iOS app with Python-based testing framework using appium. This is a step by step procedure, right from building an app, writing a test for iOS app in Python using Qxf2 test automation framework and then actual testing of app with Appium on Mac OS […]
Testing with Celery
As part of the pairing project activity at Qxf2 – I had to demonstrate a simple working example that included Celery and it’s monitoring tool called Flower. I knew a little bit of background as I have tested a product that includes Celery. I read the Celery guide, a few related articles, and simple examples. I also came across the […]