We have updated our open-sourced GUI automation testing framework to use Python3. This update was due for a long time. We have had a lot of requests from people asking for our framework to use Python3 and we finally found the bandwidth needed to migrate to Python3. We will also no longer support Python2. If you already use our framework […]
Qxf2’s automation testing framework uses Python 3
Sending images and log messages to ReportPortal
Problem: There is not much information on how to send or attach images to ReportPortal Why this post? We started using ReportPortal for reporting automation test results. Along with the test results we also need to send log messages and images/screenshot to ReportPortal. These are useful artifacts which help people monitoring them check the success and failure reasons and take […]
ReportPortal integration with pytest and pytest markers
Problem: If QA wants to make a difference with their testing and influence decision-making, we should convey our test results clearly. Hence test reporting becomes an important part of testing. There are several test reporting tools available and recently many AI based test reporting tools are getting popular. Integrating with these reporting tools is useful. In this post, we […]
Tesults: better reporting for automated tests
We wanted a good way to report the test results from our automation framework. So, when Tesults approached us to integrate with our Selenium, Python-based automation framework we were pleased. In this post, we are going to show you how automation can update test results directly on to Tesults. Why this post? If you have ever built a automated testing […]
AttributeError: ‘module’ object has no attribute ‘find_dotenv’ while running Flask app
We have a Flask app “cars-api” to help testers learn to write API automation. One day we hit across this issue while running the app File “C:/Git/cars-api-master/cars_app.py”, line 234, in app.run(host=”127.0.0.1″, port=5000) File “C:\Python27\lib\site-packages\flask\app.py”, line 910, in run cli.load_dotenv() File “C:\Python27\lib\site-packages\flask\cli.py”, line 600, in load_dotenv path = dotenv.find_dotenv(name, usecwd=True) AttributeError: ‘module’ object has no attribute ‘find_dotenv’ I looked at the […]
Getting started with Wallaroo
We used to think writing (near) real-time applications that process multiple data streams was for the high IQ crowd and well-funded teams. This belief was probably strengthened by the fact that we (at Qxf2) love Python … and our favorite language lacked good complex event processors, stream processors. So we were excited to discover Wallaroo has set out to fill […]
Chrome not reachable error when running Selenium test on Linux
I recently faced a Chrome not reachable error while running a Selenium test in Chrome browser on a Ubuntu machine. I had a hard time isolating the problem because I was trying to get setup with Chrome driver on Ubuntu as part of a Docker image. Problem: selenium.common.exceptions.WebDriverException: Message: chrome not reachable Solution: Initially, I suspected the error is because […]
How to reuse existing Selenium browser session
Suppose you are running a long Selenium test. The test runs fine but fails towards the end as some element was not found or was not clickable. Ideally, you would like to fix the locator and check it immediately. Now you wonder if you can reuse your browser session from the same point where the failure occurred. This post shows […]
My experience working remote
This is an article about my experience working remote, the challenges which I faced and how I tried overcoming them. I hope this article would be helpful for people who have recently started working remote or who are planning to work remote soon. A Great start The thought of working remote may excite some people or put off some people. […]
Selenium to get browser console log
The browser console log, along with debugging also helps us capture errors that occurred when using a web application. Your developers will thank you when you include console errors in your bug reports. As part of running your GUI automation, it is a good habit to check and report the errors present in the browser’s console. In this post, I […]