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 […]
Get started with TestNG
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 […]
Get started with mobile automation: Selendroid & Python
Problem: There is a perception among testers that getting started with mobile automation is hard. Why this post? I strongly believe that a tester must have a wide range of skills. You do not need to be an expert in all of them, but it is extremely important to have contemplated a spectrum of concepts and explored a variety of […]
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 2
Problem: Selenium automation should run tests across different browsers and platforms on Sauce labs. In a previous post titled Running Selenium automation using Sauce Labs: Part I, we showed you how to get started with running your Selenium tests on Sauce Labs. In this post we will show you how to parameterize the test so that you can run the test […]
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 […]