Monthly Archives: June 2015

Selenium – Assertion with Python Unittest

in a previous post, i shared a basic script to use Python Unittest. At that post, there is not any Assertion(verification). Now, let’s see power of Assertions. after we prepare our test and its steps, we will need at some point to check results. in following example, get header title and compare it if it correct… Read More »

Selenium – Wait For Element – Python

In Test Automation progress, one og the most important point is check element existence status. Sometimes you need to wait for any element to be appear or disappear. Selenium has wait and Expected Conditions functions. following examples is a simple action that wait for a <div> element with ID of “ajaxReturnDiv”. # -*- coding: UTF-8… Read More »