#SFSE Meetup Video: Keeping Selenium Tests 100% Blue

January 31st, 2012 by Ashley Wilson

The 2012 San Francisco Selenium Meetups kicked off last week with a great talk by Denali Lumma (@denalilumma), who is the QA Lead at Okta.

Okta, an on-demand identity & access management service for cloud/SaaS applications, is notable for that fact that they manage to keep 1,000 Selenium Tests 100% blue – and they don’t use any manual testers. To get an inside look at how they accomplish this impressive feat, take a look at the video below.

For more info about the San Francisco Selenium Meetups and to join the group, visit our meetup.com page. And for help with starting a Selenium Meetup in your own city, check out my blog post on the subject :-)

Share

So you want to start a Selenium Meetup Group. Now what?

October 24th, 2011 by Ashley Wilson

The is part one in a two part series on Starting a Selenium Meetup Group.

Organizing Selenium meetups has become my thing. On my first day at Sauce back in April 2010, I was tasked with helping to organize a meetup that was happening two days later. I hadn’t done much event planning nor did I even know what Selenium was (a little embarrassed to admit that now), but I jumped in, proved I (sort of) knew what I was doing and was handed the reigns to Sauce’s monthly Selenium Meetups. 18 San Francisco Selenium meetups later, plus three in New York City, one in Boston, and the inaugural Selenium Conference, I’ve learned a thing or two about organizing events for the Selenium community and would like to share some of that with you.

I’m writing this post because my Selenium meetup history tells me there are Selenium users all over the world who want to meet other testers and developers, geek out about testing, and find out how others are utilizing this awesome tool – they just need an avenue to do so. We saw this in action at the Selenium Conference back in April. Everyone who showed up was committed to open source, wanted to make this project the best it can be and loved getting together to talk about Selenium. But while a big Selenium conference is great, realistically it can only happen once or twice a year. Meetups, on the other hand, can happen much more frequently, in just about any city in the world, with the help of one or two committed organizers.

Which is where you, future Selenium Meetup organizer, come in :-) If you don’t live in San Francisco, New York, Boston, Seattle, London, Toronto, MelbournePhoenix, and soon DC (cities that have an existing meetup group), I hope to arm you with the knowledge and confidence to start one yourself and see it flourish. So, without further ado, let’s dive into the nitty gritty of starting your first Selenium meetup!

1. Ask yourself: How active do you want this meetup group to be?
It’s important to set this expectation early on so you know what you’re signing up for. Will you meet every two weeks? Once a month? Once a quarter? I’ve found once a month to be solid, but I’m also fortunate that organizing these meetups is part of my duties at Sauce.

2. Decide what your first meetup topic will be
For a first event, I’d suggest opening the meetup with “getting to know you” time and then follow that up with either a speaker or a workshop that you (or someone else qualified) will lead. Organizing it in this way gives you time as the organizer to meet attendees, get a feel for their technical level and perhaps ask about future meetup topics. An agenda for the evening might look like this:

7:00pm: Registration, Welcome, pizza (or local favorite) and drinks
7:15pm: Welcome, Announcements
7:30pm: Mingling, networking, etc
8:00pm: Workshop / Presentation
8:30pm: Q&A / Wrap up workshop
9:15pm: Lights Out

If you’re experience is anything like mine, you’ll find you have to shoo people out so the cleaning people can come in to do their job.

3. Find a Speaker
This one can be difficult when you’re first starting out. Assuming you work at a company that uses Selenium, I’d ask your coworkers if anyone would like to present. If you strike out there, I’d go to Linkedin and filter by location and whether they have Selenium in their profile. You can also send a note to the LinkedIn Selenium Group or the Selenium user list on Google groups. If all those options fail, get in touch with me and I’ll do what I can to help you secure a speaker.

4. Pick a date for your first meetup
It’s a good idea to not only pick a date for your first event, but also establish the day of the week to have regular meetups. This will make it easier for attendees to remember and also (hopefully) keep you motivated to continue organizing. In San Francisco, we generally have our meetups on the third or fourth Tuesday of the month. In New York, we do meetups on the third Thursday of the month. I’d avoid doing events on Mondays and Fridays.

5. Look for a (free) venue
Check first with your own company. Meetups are a great recruiting tool and you can use that angle when convincing your boss to host a bunch of geeks. If your own company won’t do, put a note out to the Selenium user list saying that you’re starting this meetup and need a venue. Do a google search for other tech companies in your area and see if you can track down the developer advocate or QA director. Once again, if all these options fall short, send me an email. We’ve got a database of companies using Selenium and I know plenty of them would be thrilled to offer up their space.

Some things to remember about a venue: Open space is better than a conference room. You’ll need to confirm that there is a projector and screen set up for the presenters (with adapters for Mac and PC users!). Also be sure there are plenty of chairs set up. Theatre style tends to work best but if you’re doing a workshop, obviously round table seating is more preferable.

6. Find a sponsor for food and beer
Free food and drinks are essential to meetups so I wouldn’t skimp on this. I usually order pizza from a place close to the venue and have beer delivered from a liquor store. Every once in a while I find a company that provides a venue, food and drinks. When that happens, I get really happy and feel like I’ve hit the jackpot. You will too. (Remember to ask the company that is providing the venue if they’ll also pony up food and drinks. The worst they can say is no). For a group of 50 attendees, plan on it costing about $400 for food, drinks, and tip.

7. Set the group up on Meetup.com and announce your first meetup
It’s time to announce your meetup! When setting up your meetup page, be sure to use Selenium and your city in the headline (e.g. San Francisco Selenium Meetup Group) so it’s easily searchable. Go ahead and announce your first meetup, knowing that at first, it will be a meetup for one. Then tweet and/or blog about it. If you don’t tweet or blog, tell Sauce about it so we can do the tweet to our followers.

8. Have your meetup!
After weeks of organizing, it’s time to have your first meetup! Here are some parting tips:

      • Plan to arrive to your meetup 1 hour in advance to make sure everything is set up to your liking.
      • Come armed with nametags and sharpies.
      • Create a sign in sheet so you know how many people came vs. how many people RSVP’d.
      • Keep everything on time according to the agenda.
      • Smile, mingle, and, most importantly, have fun :-)

The next post will cover best practices for organizing subsequent meetups and growing your group.

Share

Flying Saucers All ‘Round The World

September 29th, 2011 by Ashley Wilson

Here’s a breakdown of upcoming events we’ll be speaking at, drinking at, hanging out at, etc. If you’re in the area, give us a shout on Twitter and find us to say hello!

  • 10/01: Sauce Developer Adam Christian (Windmill, Jelly.io) has been traversing around Europe for the last few weeks. Soon he’ll make his final stop at JSConf EU in Berlin, Germany, held October 1-2. He won’t be speaking, but he will be around to chat about Sauce over a beer or two (bonus: he said he’s buying). If you’re attending the conference and are involved in testing, get in touch with him!
  • 10/02: Jason Huggins, co-founder of Sauce, will speak at the *free* Jenkins Users Conference this Sunday at the Marines’ Memorial Hotel in San Francisco. Last we heard, nearly 400 people had registered, but if you manage to get in, drop by his talk, Extreme Testing with Jenkins and Selenium. He’ll start with an overview of how Selenium and Jenkins usually connect together and then cover browser testing at the extremes, including how a major U.S. airline uses Selenium and Jenkins to test its website every 20 minutes across dozens of concurrent threads. Sauce is also a sponsor so if you want some goodies, stop by our booth!
  • 10/20: New Yorkers should mark their calendars for the next NYC Selenium Meetup, scheduled for 7pm on October 20 at Yodle. The topic for this free event is mobile testing with Selenium 2.0. I’ll be around to host and meet with folks who are interested in hearing more about Sauce and Selenium. We’ve also got a speaking slot open, so if you’d like to show off how your company is handling mobile testing, please send me an email with a brief abstract.
  • 10/25: Jason will speak at the Software Test Professionals (STP) Conference in Dallas. His talk, Web Testing with Selenium 2.0 – Better, Faster, More Awesome, will explain the benefits of using Selenium 2.0 and cover some of the big differences between Se v.1 and Se v.2. He’ll also cover trends in testing and give guidance on what should and should not be tested with Selenium.
  • 10/27: And Adam Christian is once again hitting the conference circuit with a talk at GTAC titled Browser Automation with NodeJS and Jellyfish. This event is currently closed to new registrants, but if you were able to snag a slot, make sure you tweet about how awesome it is :-)

And that’s what we’ve got so far. Happy testing!

Share

Javascript + Selenium: The Rockstar Combination of Testing

July 25th, 2011 by Ashley Wilson

For our July Selenium meetup, held last Thursday, we wanted to give attendees something a little different to chew on. Thanks to our good friends at Yammer, who co-hosted the event with us, we did so not only with delicious catered Mexican food, but also plenty of Javascript & Selenium testing goodness to go around.

Bob Remeika, senior engineer at Yammer, gave a spirited presentation that left no one questioning his stance on testing (his opening slide – “Test your shit” – really said it all). He gave us an inside look at how Yammer tests using a combination of Jellyfish and Sauce OnDemand, and gave some great advice on knowing what and how to test when you’re just starting out.

 

We also had Adam Christian, Sauce Labs’ Javascript Aficionado and the creator of Jellyfish, give two talks. The first, a lightning talk titled “Javascript Via Selenium: The Good, The Bad, The Obvious”, covered some of the lesser known things about Javascript testing via Selenium.

The second showed off how you can use Jellyfish, the open source Javascript runner that he announced a few weeks ago, to run your JS unit tests in any environment.

Thanks to Adam, Bob, and Yammer for making this quite the fun and memorable meetup. As always, the San Francisco Selenium Meetup group is free to join & we meet monthly at different venues around the Bay Area to talk all things testing. See you in August!

Share

Why CSS Locators are the way to go vs XPath

May 17th, 2011 by Ashley Wilson

Last week, our own Santiago Suarez Ordoñez gave a presentation to the San Francisco Selenium Meetup group that convinced us all to say no (for the most part) to XPath and yes to CSS Locators in our Selenium tests.

In his role as official Sauce Ninja and as a prolific poster in the Selenium forums, Santi has helped more users solve locator issues than possibly anyone else in the world. He’s previously written a number of blog posts on ways to improve locator performance. As Sauce CEO John Dunham puts it, “If there was a foursquare mayorship for locators, Santi would have it for a lifetime.”

Drawing from this experience, he gave us these four reasons for using CSS Locators:

1. They’re faster
2. They’re more readable
3. CSS is jQuery’s locating strategy
4. No one else uses XPATH anyways!

I can’t speak for everyone, but Santi sure sold me on point number one when he showed off the performance metric script he wrote a script that tested the speed of XPath vs the speed of CSS Locators. There wasn’t much of a difference in Firefox, Safari, or Chrome, but with IE, the results were undeniable. Take a look:

To underscore this even further, he also recorded a video in Sauce OnDemand that uses one heck of a cute kitten to illustrate just how slow XPath can be. The cat’s paw movements represent the test clicking through the different locators. The first batch of clicks uses CSS Locators and completes in under 30 seconds. The second batch, the XPath one, continues on for another eight minutes. Eight minutes!

During the rest of the presentation, Santi dives into writing both basic and more advanced CSS Locators. He also spends some time talking about when you shouldn’t use CSS Locators (yes, there are a few cases where it is not the right tool for the job). To see the talk in its entirety, check out the recording below. And if you’re thinking of switching over from XPath, but unsure of how to go about it, check out the nifty tool Santi wrote called cssify. It does the handy work of translating your XPaths to CSS automatically.

Helpful links
View Santi’s Presentation Slides
Follow him on Twitter
Follow Sauce on Twitter
Join the San Francisco Selenium Meetup group!

Enjoy!

Share

Testing Your Mobile Apps with Selenium 2 and Frank

March 30th, 2011 by Ashley Wilson

In case you missed our last SF Selenium Meetup, check out video below of the two great presentations on mobile testing. Pete Hodgsen, a software consultant with Thoughtworks, discussed how to use Frank, a new testing framework he’s involved in developing, for automated acceptance testing of native iOS apps. Jason Huggins, creator of Selenium and co-founder of Sauce Labs, followed this by demoing how to test Android and iPhone applications using Selenium 2.

Many thanks to our friends at CoTweet for co-hosting and making this last meetup such a success! If you think your company might be interested in hosting a future meetup, please get in touch. Our next meetup will be in early May at Mozilla (we’re skipping April because of the Selenium Conference happening next week). Stay tuned for more details!

Share

#SFSE Video: Selenium Problem Solving Sessions

March 2nd, 2011 by Ashley Wilson

A new year of San Francisco Selenium Meetups got off to a great start with our February meetup, hosted by our friends at OPOWER. Attendees were treated to four different presentations by:

  • Eric Allen, a developer at Sauce Labs, who spoke about the different ways you can (and should) use Selenium’s Proxy Server
  • Dan Fabulich, Senior QA Engineer at Redfin, who shared a technique for using Selenium to automatically test files on a disk
  • Lalitha Padubidri, Lead QA Engineer at Riverbed, who gave attendees a glimpse into the Python-based Selenium infrastructure that Riverbed has built out, and
  • Alois Reitbauer, Technology Strategist at dynaTrace Software, who demonstrated how to integrate your Selenium tests with dynaTrace Ajax, a free tool that analyzes performance and functional problems.

In case you missed the event, check out the video below for the full presentations. And if you haven’t joined the SF Selenium Meetup group, well, get to it :) We meet once a month at different venues around the city to mingle, drink beer, eat pizza, and hear various presentations on Selenium. It’s not only a grand ol’ time, but it’s free. Next meetup is March 16 at Co-tweet. Details to come soon.

Share

#SFSE Meetup: Selenium Lightning Talks at Sauce Labs

January 5th, 2011 by Ashley Wilson

To round out an exciting year of #SFSE meetups, we invited members of the group to give lightning talks on a Selenium topic of their choice for our December meetup at Sauce Labs.

Seven brave people took to the stage and the resulting meetup was, as hoped for, memorable, entertaining, and enlightening (I, for one, never knew Selenium could be used so creatively for non-testing purposes!). In case you missed it, check out the video below to see how members of the growing Selenium community are taking advantage of the testing framework.

We’ve got another great year of meetups planned, so if you’re in the Bay Area, consider joining the San Francisco Selenium meetup group. We hold free monthly meetups in and around the city, and it’s a great chance to geek out with other Selenium enthusiasts :) Hope to see you at a meetup soon!

Share

#SFSE Meetup: Cloud Testing At Salesforce & Selenium 2 Update

November 29th, 2010 by Ashley Wilson

Here are videos from another great San Francisco Selenium Meetup. Chris Chen, of Salesforce, gave attendees a special look in to how Salesforce automates testing in the cloud, and Eran Messeri, a core Selenium committer at Google, shared a new API for Selenium 2.

Check ‘em out!


How Salesforce Tests in the Cloud with Chris Chen


Selenium 2 API & Interactions with Eran Messeri

Share

Fancy a Pint? Sauce Labs visiting London

October 29th, 2010 by Jason Huggins

I’ll be in London Tuesday, November 2 through Sunday, November 7 for these Selenium and/or Testing-related events:

Wednesday, Nov 3 – Selenium London meetup at Google. I look forward to reconnecting with all the London-based Selenium committers (there’s quite a few, now), and hanging out with users (aka “future committers”), too!

Thursday, Nov 4 – Speaking at London Software Craftsmanship Meetup
Topic title: “Painless product demos & how to test ‘untestable’applications”
At this meetup, I’ll show effective ways to test bleeding-edge apps that use HTML5 tags like <canvas> and <video>, like the one shown in this video.

Friday, Nov 5 to Saturday, Nov 6 – Attending CITCON London -
CITCON is an open space “unconference” — the agenda of talks won’t get planned until Friday night — by the attendees! So I may or may not be speaking on test automation with Selenium, cloud computing, and mobile testing. But I plan to!

During the day, though, my schedule is flexible. If you’re in London and use Selenium at work, I’d love to stop by and chat. Send an email to hugs at saucelabs dot com. Or find me on twitter: @hugs.

Cheers!

Share