Practice Python by fixing errors

You can now practice Python by fixing errors. We have created a GitHub repository with common errors that Python beginners are likely to make in their code. This is not meant for intermediate level of Python developers. The errors are super basic and laughably simple for intermediate users. We created only simple challenges so that beginners can develop the momentum […]

Contributing code to GitHub projects

This post helps you understand how to contribute code to open source projects on GitHub. It assumes that you already know about how to use git for version control and that you already have a GitHub account.   Why bother rehashing what is already on the Internet? Skip this section if you are not wondering why we are writing this […]

Auto-generate XPaths using Python

In this post, we will present a way to auto-generate robust and short XPaths for the two most common HTML elements automation interacts with – buttons and input elements. We have tested this against more than 50 commonly used websites like Facebook, LinkedIn, Citibank, IRCTC, etc. Why this post? The foundation for robust GUI automated checks is writing good element […]

Exploring Wallaroo: Understanding state partitions with an example

This post is aimed at Wallaroo users who are looking to develop an intuitive understanding of state partitioning. Wallaroo is a framework that makes it easy to handle streaming data and write event processing applications quickly. Wallaroo already has a really nice example of state partitioning called alphabet_partitioned but it is missing a final step illustrating how partitioning helps when […]

Exploring Wallaroo – Giles Sender

We have been exploring Wallaroo, a framework that makes it easy to handle streaming data and write event processing applications quickly. Wallaroo’s examples and documentation are excellent. They cover the core concepts well. But their documentation is sparse for certain tools that Wallaroo has developed to make it easy to independently test the developed application. One such example is the […]

Dynamically import Quilt packages

This post is primarily aimed at Quilt users. Read-only section 2 if you were looking for examples of dynamically importing Python modules. In this post, we will show you how to use the same code to interact with two similarly structured but different Quilt Packages. This is particularly useful when you use one Quilt package on your development environment and […]

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