Test Automation

Selenium Phantomjs – check browser errors using pytest

Checking browser errors (including Javascript errors) is an important use case in testing a website. Javascript errors are hard to QA and can cause bad read more

Python selenium – print browser log (including javascript errors) with phantomjs

It is useful to find out javascript errors in a page automatically. This can help in site quality test automation. Here is selenium code snippet read more

Python pytest – using selenium with PhantomJS

Here is quick tutorial to use python selenium with PhantomJS as driver. We will fetch a page and assert that page title has certain keyword. read more

How to test a site using pytest

Python is fairly good programming language for writing and maintaining unit and functional tests. One advantage of python is that it does not require compilation read more

Python selenium webdriver – quick start guide on Mac

Selenium is an excellent tool which automates browsers. One of the commonly approach is to use Selenium webdriver which has API in many languages like Python, Java, etc. This read more

How to use CasperJS to automate website testing

CasperJS is a navigation scripting & testing utility for PhantomJS, written in Javascript. Its a pretty handy utility to automate functional testing of a website. I’ll read more