A Smattering of Selenium #80
I should have learned not to boast about getting caught up with links.
- Automating BrowserID with Selenium is pretty awesome. (As is BrowserID.) Now if this was only installable via pip or easy_install…
- Ruby Trick Shots – heed the disclaimer; not an exercise in Ruby best practices
- Keep It Functional – iPhone Test Automation talks about another automation framework for mobile. At some point Selenium is going to grow Objective-C bindings I fear.
- Requests for Python is fantastic. Requests for PHP looks to be equally so. (I suspect my php webdriver bindings are about to become a much larger fork of the Facebook ones.)
- Is Test Automation a “Project”? – hint: it’s not.
- Keeping Selenium Tests 100% Blue is a video of January’s SFSE. And Selenium Meetup West Coast Style is a rebuttal.
- Selenium’s Sweet Spot: Preventing Catastrophes shows that there are still people who do not watch for Black Swans. Automation does not prevent catastrophes. Well, at least ones that you are not looking for already.
- Automate Salesforce Administrative Tasks with Selenium has the results of the contest they ran.
- ErrorList object for use in TestNG/Selenium testing is a soft-assert implementation
- Iterations has an outstanding time-lapse of how the Pycon US logo was designed. Someone should do this scripting out a website.
And my post that I’m going to link against is a bit of a rant around how to choose selenium training. Though it has also been pointed out that a lot it applies outside the scope of Selenium as well.
Announcing Selenium 2.19: the Prancing Unicorn release
You might be pleased to hear that Selenium 2.19 has been released (download it from here!). There’s one big user facing changing that we’d like to tell you about: the webdriver-backed selenium can now be used in supported languages.
By providing this capability, it’s possible to migrate from RC to the WebDriver APIs without rewriting all your tests in one fell swoop (which must be a Good Thing, right?) An example of how to use it in Python would be:
driver = RemoteWebDriver(desired_capabilities = DesiredCapabilities.FIREFOX) selenium = DefaultSelenium('localhost', 4444', '*webdriver', 'http://www.google.com') selenium.start(driver = driver)
Provided you keep a reference to the original webdriver and selenium objects you created you can use the two APIs interchangeably. You’ll see that the magic is the “*webdriver” browser name passed to the selenium instance, and that we pass the webdriver instance when calling start().
We hope you like it!
PS: I have no idea why this is the Prancing Unicorn release, but it’s been a while since we named one 🙂
A Smattering of Selenium #78
Look! A light at the end of the tunnel!
- ASP.NET MVC + Selenium + IISExpress – You don’t see too many Windows how-to’s. Not sure if they just don’t get tweeted about or is more a sign of that community.
- Write Logs for Machines, use JSON is a nice idea. I wonder if (when) the major CI containers will land on a pseudo-standard for consuming JSON
- Remote File Upload using Selenium 2’s FileDetectors shows yet another area I need to figure out in WebDriver (not Selenium 2 as Santi so stubbornly referred to it as 🙂
- Janky is GitHub’s CI server. Seems like this is the current cool route; that is, implementing your own rather than building off of one of the major existing ones. Which I suppose makes sense.
- From Dependent Tests to Independent Tests to Independent Assertions has a nice refactoring trick to clean-up your scripts
- I’ve posted how to inject Sizzle into your WebDriver scripts at least once, and here is another time. Injecting the Sizzle CSS selector library
- And if Sizzle isn’t your thing, WebDriver Plus has JQuery-esque DOM Traversing
- Important notice regarding Java packages in Partner archive is something to keep in mind if you want to run the Selenium Server on Ubuntu
- Looks like ShingingPanda is the Python equivalent of CloudBees, and has instructions on how to get Selenium running on it in ShiningPanda is Selenium ready!
- Articles that lead in with Boy. That was a headache. are usually good ones to link to. WebDriver, Webdriver, and more web driver. This one is about the WebDriver iOS driver.
And today’s post of mine is WebDriver and Cookies which explains how, well, cookies and webdriver play together.