Problem: Many testers do not get a chance to explore CircleCI Why this post? CircleCI is powerful, fast and easy-to-use Continuous Integration and Deployment tool for web applications. CircleCI seems to be growing in popularity as a cloud based continuous integration and deployment tool. Due to a variety of reasons, many testers do not get the opportunity to explore and […]
Setup Python and Selenium tests on CircleCI
Selenium & HTML5 canvas: Verify what was drawn
Problem: How do you verify what was drawn on a canvas element using Selenium? Why this post? The HTML5 canvas element is opaque to Selenium and does not lend itself well to GUI automation. An application I was testing had an HTML5 canvas element that users could interact with. Users could place pre-defined objects upon the canvas element and then […]
Selenium tutorial for beginners
We recently presented a Selenium tutorial aimed at beginners. Avinash Shetty of Qxf2 Services presented the tutorial as part of the Mangaluru Software Testing group meetup at Mangalore Infotech’s spacious office. Several members who attended the meetup found the talk and examples useful. So we thought we would share the material on our blog too. You can practice your Selenium […]
Don’t hardcode usernames and passwords in your test scripts
If your application needs to authenticate users, you need some way for your automation to know your credentials. You may be providing these credentials in the test script itself. But this could lead to a possible breach of security. E.g: We learnt that BrowserStack keeps logs of every line of code executed. So if you had hard coded your username […]
Run your API tests in parallel: MapReduce/Python
At a recent client engagement, I used MapReduce to run some API level checks in parallel. It was surprisingly simple and needed me to change less than a dozen lines of code in my tests. Generally MapReduce makes people think they need a farm of servers. But in this case I did it using only my local machine. I was […]
Page Object Model (Selenium, Python)
We have come a long way since our post on implementing the Page Object Model –Implementing the Page Object Model (Selenium + Python) While the above post is useful and we rank high on Google, we routinely hear two criticisms of it: a) the post is too high level b) the application being tested is not very repeatable So we […]
Designing your testing tiers
This post is for early stage startups who have only a production tier and do their testing on their development environment. We have a short checklist of things to consider, some suggestions on evolving your test tiers and finally some advice on dealing with data. A checklist for setting up your testing tier A well designed test tier will efficiently […]
Xvfb plugin for Jenkins
Problem: Error while running Selenium tests via Jenkins on a Ubuntu machine. WebDriverException(“The browser appears to have exited ” selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details. Why this post? We faced this issue when we were trying to run our Selenium tests […]
Introduction to TestRail
Problem: Many Start up companies don’t have their test cases organized TestRail is comprehensive web-based test case management software to efficiently manage, track and organize your software testing efforts. Why this post? Many start ups use google docs or excel to document their test cases. Though the process may be easier and cheaper to maintain, they are not visual in […]
Performance Testing using Gatling
Problem: Common misconception that load testing is difficult. Many testers think performance testing is tough. One of the common reason for it is the lack of knowledge of any performance testing tool. In this tutorial we will learn about Gatling which is an open source load testing framework based on Scala, Akka and Netty and arm our self for load […]