How to compare PDFs using Python

Problem:How do you compare two PDF files programmatically using Python? Adobe makes it easy to compare the changes in two PDF files. However as testers, we sometimes need to compare a lot of PDF files (especially reports!) against some preset baselines. In these cases, it helps to have a script that can compare PDF files and tell you if they […]

Common XPath mistakes

Ever wondered if your XPath is good enough? Did your XPath break for any minor changes made in the webpage? Did your XPath return a different element? If your answer to one of those questions is yes, then this is the right post for you. Why this post? While learning to write XPaths, I made a few mistakes that were […]

Getting started with XPaths

Assuming you already know what you want to automate and that you have a good reason to automate it, then GUI automation is largely about: a) identifying a web element you want to interact with b) performing an action on the identified element c) repeat steps a),b) until you have automated the workflow that you identified. To perform step a), […]

State of Testing Survey 2016

The State of Testing Survey 2016 goes live on Thursday, January 7th, 2016. This is a worldwide survey that tries to identify the existing state of testing. Taking the survey is one step into bringing more transparency into our profession. If you are a professional tester, I strongly recommend participating in the survey. Like most surveys, you will receive a […]