Get started with TestNG

We wrote this post for testers who want to get started with TestNG. You will learn about some popular annotations used in TestNG. We also show you how to parameterize your automated checks. TestNG is a testing framework influenced from JUnit and NUnit but has some great features which makes it more powerful and easier to use. Some basic knowledge […]

Batman and Page Objects

Problem: The page object pattern is not yet understood by the average tester. To get the most out of this post, please read this post and then read at least one of the articles listed in the Holy further reading, Batman! section below. Why this post? There are many ways to write and maintain GUI automation tests. The most common […]

The art of writing xpaths

Problem: Writing XPaths is hard and confusing when there are no unique identifiers XPath (XML Path Language) is a query language for selecting nodes from Document Object Models (DOM) like XML, HTML, etc. XPaths are frequently used with Selenium scripts to uniquely identify elements in page. This post is a descriptive tutorial on how to think about xpaths and write […]

Running Selenium automation using Sauce Labs: Part 3

Problem: Different test runs require different configuration on Sauce Labs. In this post, we will show you how to make your automated test runs to use specific configuration parameters of Sauce Labs. TWEAKING SAUCE LABS CONFIGURATION Some nightly automated selenium checks that we run at Qxf2 Services need to be run only on specific browsers. Further some of our nightly […]

Running Selenium automation using Sauce Labs: Part I

Problem: Maintaining infrastructure for automated Selenium cross browser tests is time consuming. At Qxf2 Services, we use Selenium and Python for UI testing of web applications. Recently, we began using Sauce Labs to run our automated tests against different browsers. Sauce Labs cloud testing platform allows you to test web applications on 200+ browsers and platforms. They support the major […]