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. […]

WebSocket Error – Connection is already closed.

While trying to send a WebSocket transaction, I hit the following error Connection is already closed. I received this error when working on an application that involved a WebSocket connection. The Websocket handshake between the client and server was successful. After that I was able to send data to server using ws.send(“request_data_1”). I had no trouble receiving the data using […]