6085 comments
2357 subscribers
6224 on Twitter
Subscribe! Feed reader E-mail

Learning browser-based testing with Selenium

I want to get better at testing my applications so that clients and end-users run into fewer bugs. I’m learning how to use Selenium to write browser-based tests. So far, I’ve written eight tests and fixed three bugs. This is good.

I’m using the Selenium IDE, and I’m looking forward to trying other options. I like the way that the Selenium IDE lets me record and step through tests easily. The Selenium Stored Variables Viewer plugin was really helpful, because it made it easy for me to store values and view them. I’m slowly getting the hang of different commands and asserts. Next week, I’m going to read the command reference so that I can index the possibilities.

People tell me I’m a fast developer. I want to try swapping some of that speed for better accuracy – slowing down and doing things right, with tests to back that up. It feels like it takes a lot of time to click around and wait for the pages to respond, or even to run these web-based tests and iterate until I’ve gotten them right, but it’s better for me to do it than for other people to run into these errors. Besides, with tools and metrics, I can make testing more like a game.

Onward and upward!

Short URL: http://sachachua.com/blog/p/22512

On This Day...

  • 2012: Learning how to bring people together — Many people I know are looking for their next opportunity – freelancing, consulting, full-time or part-time jobs. One of my [...]
  • 2012: Sketchnotes: #torontob2b: Free trials, cold-calling, brainstorming — Click on an image for a larger version of the sketchnotes. Feel free to share these! You can credit it [...]
  • 2009: Finding the sweet spot — Dave Pollard shared this excellent diagram for finding the sweet spot for what you want to do in life. He [...]
  • 2009: How do you keep in touch with 500+ contacts? — “How do you keep in touch with 500+ contacts?” asked Khalid, whom I met while I was active in Toastmasters. [...]
  • 2008: Week ending Oct 5 — Accomplishments: Created saved searches/alerts module for Drupal-based project Prepared Gen Y banking scenarios for an upcoming client workshop Connected lots of dots Attended WordCampToronto, [...]
  • 2008: Sewing: Wool jumper, blazer — (blazer not pictured). This is the jumper I made following Simplicity 4097. I also made a blazer from the pattern. [...]
  • 2008: My blog should be a little bit faster now — I picked up a lot of ideas from this weekend’s WordCampToronto, and I’m looking forward to doing a front-page redesign [...]
  • 2008: — WordCamp Toronto Chat with my parents Update sewing patterns and make fabric list Clear inbox
  • 2007: Remembering to Org and Planner — Most of my notes are in Emacs Planner. Handy commands like M-x remember help me quickly take notes and write down [...]
  • 2007: Emacs multi-tty is sweet — The multiple-terminal support in Emacs 23 (CVS) means that I can leave my main Emacs session running on my laptop, connect [...]
  • 2007: Very odd – caring about the nitty-gritty — While reviewing the volunteer application form for a charity that I’m thinking of supporting, I grew uncomfortable with the confidentiality agreement. In [...]
  • 2006: Rotman School of Management: Nexus for non-profits — Ushnish Sengupta told me about Nexus, the Rotman School of Management’s initiative for providing low-cost services to non-profit organizations. Already in its second [...]
  • 2006: Clearing e-mail clutter — I’ve set almost all of my Yahoogroups mailing lists on Special Notice only to curb my inbox overload. I’ll reenable them [...]
  • 2005: Aha! That’s it! That’s my thing! Research as blogging — I’ve been struggling to figure out exactly how graduate school and my courses fit into The Great Scheme of Things, and [...]
  • 2005: Google tech talk! — 5:30 – 7:00 at BA1130. I am _so_ going to be there. <cancels everything else on her schedule>
  • 2003: Comments on http://optics.blogspot.com: — by the way sacha, however did you find out that i had linked you to my blog already? and a correction [...]

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging