Author: admin

The Blog To Learn Selenium and Test Automation

Python Selenium all mouse actions using ActionChains

In this article, we are going to see all mouse actions available and supported by Python Selenium WebDriver as ActionChains object. As discussed in our previous article, there might be many scenarios where we need to use mouse actions in automation testing. Some common uses case are given below. Mouse over on a menu item…
Read more

TestNG Annotations 101

This article explains basics of all TestNG annotations, provides examples for each annotation, explains each TestNG annotation in more detail along with its attributes, and provides tips and tricks for efficient usage. A Brief Introduction to Annotations Annotations are used to provide additional information (Metadata) about a program; To be specific it provides additional information…
Read more

How to debug tests running on Docker containers

Our previous article Selenium Docker: Parallel execution made easy explains how to execute selenium tests in Docker. Important point to note and understand – the test scripts are running in local machine or invoked from local machine. docker container provides only the browser The setup explained is good for production. However during development of test…
Read more

Selenium Testing in Safari Browser – macOS Sierra

In this article, we are going to experiment running tests in Safari browser (12.1.1) and also going to check necessary pre-requisites to enable Safari browser for automated test execution. Throughout this article we used Python Selenium WebDriver which is Selenium’s cross-platform, cross-browser automation API for Python programming language. Safari Browser – Test Automation Safari browser…
Read more

Working with expected conditions explicit wait – part 2

In our previous articles, we have seen basics of Implicit and Explicit wait; Also we have seen some of the in-built expected conditions provided by Python Selenium to make explicit wait more easier to use. In this article, we are going to see some of the expected conditions available in Python Selenium. Explicit wait Recap…
Read more

Introduction to time module – Learn Basic Python – 2

Python has several in-built modules for working with dates as well as time; In this article, we will be looking at time module, with examples, available in Python to manipulate time. This article is split into two parts. Learn the basics of time module Uses of these modules in Test Automation time Module The time…
Read more

Common file operations – Learn Basic Python – 1

File operations are common in application development as well as test cases automation. There are many options available in python to handle file operations; Some options are straight forward handles like importing module and call pre-defined method; Some options like os.popen() and os.system() are not straight forward. shutil is an in-built module offering high level…
Read more