Automated cloud testing setup using Selenium grid and Docker Swarm

Maintaining infrastructure for automated Selenium cross-browser tests is time-consuming. The cloud testing platforms like BrowserStack and Saucelabs help you. But in some cases, you want to have your own cloud testing environment. This is usually time-consuming and involves setting up and using Selenium Grid. This post helps testers to automate the setup process for cloud-based testing. We hope this post […]

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

Building your own docker images for different browser versions

When any application is deployed the software needs to be tested across multiple platforms and different versions of browsers. It’s tough to maintain environments with different versions of browsers. One approach is to use cloud solutions like Sauce Labs or BrowserStack which provides multi-version-browser support. But in case if you want to build your own environment which is easy to […]

SSH using Python Paramiko

Recently, as part of an automated test, we needed to SSH into a server, toggle a service and then check the response on a web application. We used the Python module Paramiko. We ended up writing simple wrappers around the most common actions test automation may need to perform over SSH. In this post, we will share the same. We […]

Getting started with Kubernetes

Recently, I started my first experiments with Kubernetes, Google’s open-source orchestration platform for Linux Containers. As containers have become more important to businesses, it has become necessary to create a system that would allow containers to scale out to meet the needs of enterprise-level deployments. That’s where Kubernetes comes into play. Unlike Docker, Kubernetes is a very robust ecosystem for […]