The document discusses best practices for Selenium testing. It suggests using descriptive names like "scripts" or "checks" instead of "tests", focusing on replacing humans with higher quality builds rather than automation, exporting scripts from Selenium IDE, using custom page object classes instead of inheriting directly from the test framework, storing locators externally rather than internally, using structural rather than brittle locators, feeding data externally rather than internally, using a page object pattern rather than procedural style, tagging scripts for discovery rather than suites, running scripts from a CI server rather than locally, using browser specific jobs rather than Selenium Grid for cross-browser testing, and using judgment in deciding what advice to follow rather than blindly implementing everything suggested.
Presentation about front end performance improvements with specific hints if you're running Ruby on Rails. Original presentation at the Boston-rb group in April 12, 2011
Practical tips to make a website more accessible to different devices, technologies, and interactions. Presented April 12, 2011 for the WordPress DC Meetup.
A talk that I give on occation that outlines how Pivotal Labs uses agile software development practices to serve both their clients and their employees.
Do you find yourself using full stack frameworks for small sites, but think it's overkill. Micro-frameworks could be your solution.
Sinatra (Ruby) has popularized micro-frameworks, and we have many options in PHP. Jake Smith will introduce you to the current micro-frameworks in PHP and where they are best utilized.
Presentation about front end performance improvements with specific hints if you're running Ruby on Rails. Original presentation at the Boston-rb group in April 12, 2011
Practical tips to make a website more accessible to different devices, technologies, and interactions. Presented April 12, 2011 for the WordPress DC Meetup.
A talk that I give on occation that outlines how Pivotal Labs uses agile software development practices to serve both their clients and their employees.
Do you find yourself using full stack frameworks for small sites, but think it's overkill. Micro-frameworks could be your solution.
Sinatra (Ruby) has popularized micro-frameworks, and we have many options in PHP. Jake Smith will introduce you to the current micro-frameworks in PHP and where they are best utilized.
This talk showed how to use a proxy to enhance your Selenium-based automation to not only get the status code of page components but timing information, etc. about the overall timings.
From there it went to how to use the JS Executor to automate Flash/Flex as well as the coming wave of JS Widgets. And Canvas.
My slides from Agile Tour Toronto 2011 on creating maintainable automation.
Essentially,
- use page objects
- use id attributes rather than structural locators
- implicit waits can help, but are also semi-evil
- don't automate stuff you should not be automating
This is the deck from my Star East 2010 session - The Many Hats of a Tester. In this session I re-ran a workshop exercise I first did in Chicago at Agile 2009 -- but with a completely different demographic of tester.
I think that the types of testing we do can be broadly rolled up into a small set of archetypes. These archetypes are useful things to teach to new testers in terms of recognizing how to solve a testing problem.
Quality through the lens of AstrophysicsAdam Goucher
First their was geo-centrism and then helio-centrism. I propose that we re-orient the software development universe around the idea of quality-centrism. Quality provides the gravity and controls the physics of how projects function.
Slides from my Ignite presentation at DemoCamp20. They make a lot more sense if you read the story that goes along with them at http://adam.goucher.ca/?p=940. All the photo credits are available at http://adam.goucher.ca/?p=985.
Here are the slides from my tutorial on Scripting Recipes for Testers. In it I share a number of reusable scripts and some tips I learned writing them to help testers do their job better.
The scripts themselves can be found on my site (http://adam.goucher.ca) under the category 'GLSEC2008'
7. My goal is to replace humans and
push to production faster
Thursday, April 7, 2011
8. My goal is to replace humans and
push to production faster
My goal is to let humans test higher
quality builds with greater efficiency
Thursday, April 7, 2011
27. I inherit from my framework’s
TestCase class
Thursday, April 7, 2011
28. I inherit from my framework’s
TestCase class
I have a custom class that my scripts
inherit from (-- it inherits from my
framework’s TestCase class)
Thursday, April 7, 2011