Wednesday, March 14, 2012 by adam goucher
A Smattering of Selenium #83
Well, might not be in Florida, but how about them juggernaut Blue Jays?
- WebDriver: capture JS errors while running tests is a JS way of capturing JS errors on a page
- Selenium reports – our take is a pretty detailed report on one company’s drive for prettier report output
- Hmmm. How do we get a Selenium coderwall achievement?
- page-objects is A basic framework for running automated tests using WebDriver, TestNG & Gradle
- selenese-runner is a js runner of Selenese scripts including a JUnit style reporter. Could be a baby-step towards getting Selenese stuff into a CI server
- I wonder how much time can be shaved off the average suite by implementing HTTP Compression correctly; Lose the Wait: HTTP Compression
- LessPainful looks interesting for mobile stuff. It uses a Cucumber variant so might have Se under the hood there somewhere.
- What? You don’t read Etsy’s ‘Code As Craft’? Here is a good starting point; The Etsy Way
- red, green, refactor – the tools for success shows just how large the toolchain can become. Oh. And step six is critical.
- And remember kids, there’s no kill switch on awesome
Tuesday, March 13, 2012 by adam goucher
A Smattering of Selenium #82
Someone explain to me why I’m in Toronto and not Florida?
- Couldn’t make it to Pycon last week? There are videos of the session!
- Release Histories for all Major Browsers is just interesting from a historical perspective
- Interacting with web pages using Selenium WebDriver for C# is pretty basic but does include the all-important security settings to make IE behave-ish
- page-object 0.6.2 released is not just a release announcement but has some nice examples of page objects in ruby
- autoenv is a magic hack for having auto-firing scripts at a directory level. Gotta love projects that advertise as being pretentious
- Four Principles of Low-Risk Software Releases is important.
- Microsoft Details Its Browser Performance Testing is good if only for the photos of their lab
- Sharing a WebDriver across TestFixtures seems like a bad idea, but solves his specific problem. (Could it be solved with a specified profile rather than a fresh one every time?)
- Browser Specific TestFixtures Sharing Tests is from the same person as above and shows how to abstract different browsers from the script by moving the browser choice up to the suite level. Not sure how this would scale though…
- I would really like to see less ‘howto’ blog posts that repeat the same basic information and more experience reports like deja vu: code, culture, and QA. Oh, and it serves as a nice reminder that automation is more than just regression; its about producing information that starts conversations
- Page Object Pattern and PageFactory doesn’t look too bad — aside from not having a code formatting plugin in their blog
- You never know when Using Travis CI for building and testing Firefox addons will be useful
- capybara-firebug is a a dead-simple way to run Capybara-based Cucumber scenarios or RSpec request specs with Firebug enabled under the selenium driver
- prickle looks like it is implicit waits for capybara
- How to Use RVM is a screencast on, erm, well, how to use rvm
- Of course, if you are on Windows then rvm won’t work for you. You need pik
- Testify is a microtesting framework for PHP that is trying to make their script JS-like
- Every Little Things Capistrano Does Is Magic aside from making my have a Police song rattle through my brain explains some of the not so obvious parts of capistrano
- It has been far too long since I made a pirate reference here, so An HR Lesson From Steve Jobs: If You Want Change Agents, Hire Pirates. I should have named my company ‘International Automation Pirates’. Ah hindsight.
- JSErrorCollector solves for Firefox something I think is missing from Se — which is the collection of JS error messages from the browser. (And it is missing from it for a reason; browsers don’t always expose it. Maybe we can get that into the W3C spec…)
Monday, March 12, 2012 by adam goucher
A Smattering of Selenium #81
Its March Break (at least here) which means its also Catch Up Week. An extra long Smattering every day!
- Generally I reccomend to people not to automate file uploads, but sometimes they are unavoidable. Selenium Tips: Uploading Files in Remote WebDriver explains how one might go about things in WebDriver
- HTTP Status Cats isn’t new, but is still funny.
- httpstatus.es has the same information, but organized slightly differently. Now for someone to make a mashup of the two
- Coypu appears to be a .NET wrapper around WebDriver
- From this year’s CodeMash, Continuous Integration in the Mobile World
- Like rake but like Python more? Now you can use shovel
- Plasma is another C# framework that has WebDriver-ness in it for automating ASP.NET apps
- Zonebie is a gem that can inject different timezones into your scripts to see if they are sensitive to that sort of thing.
- Tool mania is a useful reminder that sometimes Se can be a wrench.
- What’s your team’s Precommit Process?
- DevOps DNS for Developers – Now There’s No Excuse Not To Know because there is now no excuse not to know
- Toying with Context Managers explains this bit of Python syntax sugar
- If you are looking to raise the ire of the Se devs, Xcode just doesn’t work worth shit is a good example. Not that I recommend it. But yes, I did laugh when reading it.
- Does your app have a REST API? Do you test it using Se? Stop! Its not the right tool. Once you understand REST you’ll see why and RESTful API Server – Doing it the right way (Part 1) does a decent job explaining things.
- (Really Really) Understanding traceroute is one of those everyday tools that people think they understand, but often don’t.
- No Wrong Answers: Questions for Pre‑Clients apply just as much for automation projects
- Web-Drawing Throwdown: Paper.js Vs. Processing.js Vs. Raphael illustrates these three canvas libraries. Now, who is going to produce the demo Se scripts to interact with these. Canvas is coming and its kinda scary.
- Automating Web Performance Stats Collection in .NET talks about the BrowserMobProxy with .NET
- Serializing python-requests’ Session objects for fun and profit is a bit of code spelunking and a useful bit of code as well.
- Processing Text Files in Python 3 is going to be more and more important whether we are ready or not.