I recently used Locust, a load testing tool that lets you write intuitive looking Python code to load test your web applications. I did not follow Locust’s install guide and instead just tried a ‘pip install locustio’. I ended up running into some issues that were not easy to Google about. So I thought I would document the problems I […]
Setup Locust (Python/load testing) on Windows
JavaScript evaluate() and XPaths
I recently used a neat solution that involved JavaScript evaluate() and XPaths as part of an automated GUI check. I am good with Python and writing XPaths for locators but not so good with JavaScript. I needed to locate an element in the DOM and then change a specific attribute. The solution was simple enough that I did not have […]
If you can move the earth …
I recently realized something about working in product companies that sell to healthcare providers. I am writing this in the hope that at least a few engineers contemplating working in Healthcare IT read this post and come out with a better perspective about one aspect of working in the Healthcare IT sector. Give me a place to stand on, and […]
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 […]
InsecurePlatformWarning: A true SSLContext object is not available
I was using Python’s Requests module at a recent client engagement. I and ran into this error: requests/packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.requests/packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL […]
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 […]
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 […]
Cool things I read this week (22-Feb-2015)
I read. A lot. And I share the five best things I read every week. This week’s topics include Feynman on chess and science, a David Snowden blog post, a bug that ended a relationship, thoughts on WordPress and a cartoon. 1. Feynman on chess and science 2. Describe. Don’t evaluate 3. A bug that ended a relationship 4. Where […]
Cool things I read this week (15-Feb-2015)
I read. A lot. And I share the five best things I read every week. This week’s topics include the importance of communication in reducing error, a Elon Musk interview, Paul Graham on maker and manager schedules, Bayes theorem explained with legos and surprising post by Richard Branson. 1. John Nance on the importance of communication 2. Elon Musk interview […]