By Month:

January 2012

Just a quick one: there seem to be two issues that prevent ios-sim from successfully launching an iOS app in the simulator as part of a Jenkins build: Specifying the wrong path for the built application Running Jenkins as a user other than the one currently logged into OS X I got tripped up by [...]

October 2011

A commenter on my earlier post about NativeDriver asked if ND provides a mechanism to simulate touch-specific gestures. At the moment, it doesn’t, but at GTAC2011 today, Google’s Dounia Berrada was kind enough to show me the new touch-specific gesture support in Selenium’s TouchActions class. Since NativeDriver is based on Selenium, I suspect it’s only [...]

Today, I’m attempting to install Jenkins under Homebrew on my home server running OS X. I’m ssh-ing into that machine, and got the following error while attempting to launch the program after installation: Bug: launchctl.c:2325 (23930):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 launch_msg(): Socket is not connected A [...]

I’ve been asked on occasion for links to good references on the Page Object pattern. Here are a few that I’ve collected over the past few months: The Selenium project wiki has a great overview of Page Objects that covers the most important principles The Automated Tester has a simple example of how to implement [...]

I’ve just taken on a new client who wants help writing automated tests for their iOS and Android applications. It’s still early days in the native app automation space, but there are already quite a few open source and free-to-use tools available. One of my responsibilities for this project will be to evaluate them and [...]

April 2011

If you couldn’t make it to San Francisco for SeleniumConf 2011, fear not — my slide deck and a video of my presentation are now available for your viewing pleasure. Huge thanks to the organizers and the attendees — it was a great event with a fantastic crowd.

March 2011

Now that I’ve set this up, I can’t believe that it’s taken me so long to do it. A bit of googling turned up this blog post, which contained a link to this post in the comments. Since I’m using Homebrew instead of MacPorts, I had to tweak the instructions a bit: Install bash_completion: brew [...]

December 2010

We’re using the Sizzle JavaScript library to help us select HTML elements in our suite of Selenium tests.  Sizzle provides all of the useful selectors from CSS3, like nth-child(), as well as some others not provided by CSS3, like nth().  Sounds great, right?  Well, yes… but take a look at the W3C recommendation for nth-child() [...]

I just realized that I never posted a link to the video of my page object presentation at Twitter HQ last year.  For convenience, here’s a link to the code download and the slide deck that I used. Very belated thanks to Sauce Labs for inviting me to present, to Twitter for hosting, and to [...]

November 2010

My current client runs a major consumer-facing web application, and I’m helping them build a suite of browser-automation tests using Selenium.  We’ve had a lot of problems with test failures caused by intermittent page load timeouts, though — the application includes a LOT of external resources (1×1 pixel GIFs, javascript, etc.) used to enhance the [...]

August 2009

Thanks to all who attended my presentation on Tuesday! I hope you found it useful and informative. As promised, here is a link to the sample code: page-objects-demo-code.zip And here is a link to the slides for the presentation: Using The Page Object Pattern

July 2009

I’ll be the guest speaker at the next gathering of the San Francisco Selenium Meetup Group on the 4th of August (that’s next week!). My talk will be based on my experiences improving the maintainability of large automated test suites using the Page Object pattern. Currently, the meetup is nearly full (with 2 “maybes”), so [...]

Earlier this week I attended the July meeting of the San Francisco PHP Meetup Group.  ”But you’ve never written a line of PHP code!” you gasp.  Well, technically yes, that’s true.  I joined the group as an exercise in platform cross-pollination– as a Java developer, I’ve learned loads by programming in Ruby.  Might the same [...]

March 2009

I have a Rich Text Format file that contains data organized in an outline style.  I need to parse the file and extract the text it contains, but the formatting information is just as important as the text–I need it in order to build data structures that reflect the relationships between the lines of text [...]

By Category:

Development

We’re using the Sizzle JavaScript library to help us select HTML elements in our suite of Selenium tests.  Sizzle provides all of the useful selectors from CSS3, like nth-child(), as well as some others not provided by CSS3, like nth().  Sounds great, right?  Well, yes… but take a look at the W3C recommendation for nth-child() [...]

Now that I’ve set this up, I can’t believe that it’s taken me so long to do it. A bit of googling turned up this blog post, which contained a link to this post in the comments. Since I’m using Homebrew instead of MacPorts, I had to tweak the instructions a bit: Install bash_completion: brew [...]

I’ve been asked on occasion for links to good references on the Page Object pattern. Here are a few that I’ve collected over the past few months: The Selenium project wiki has a great overview of Page Objects that covers the most important principles The Automated Tester has a simple example of how to implement [...]

Speaking

I’ll be the guest speaker at the next gathering of the San Francisco Selenium Meetup Group on the 4th of August (that’s next week!). My talk will be based on my experiences improving the maintainability of large automated test suites using the Page Object pattern. Currently, the meetup is nearly full (with 2 “maybes”), so [...]

Thanks to all who attended my presentation on Tuesday! I hope you found it useful and informative. As promised, here is a link to the sample code: page-objects-demo-code.zip And here is a link to the slides for the presentation: Using The Page Object Pattern

I just realized that I never posted a link to the video of my page object presentation at Twitter HQ last year.  For convenience, here’s a link to the code download and the slide deck that I used. Very belated thanks to Sauce Labs for inviting me to present, to Twitter for hosting, and to [...]

If you couldn’t make it to San Francisco for SeleniumConf 2011, fear not — my slide deck and a video of my presentation are now available for your viewing pleasure. Huge thanks to the organizers and the attendees — it was a great event with a fantastic crowd.

Testing

Earlier this week I attended the July meeting of the San Francisco PHP Meetup Group.  ”But you’ve never written a line of PHP code!” you gasp.  Well, technically yes, that’s true.  I joined the group as an exercise in platform cross-pollination– as a Java developer, I’ve learned loads by programming in Ruby.  Might the same [...]

I’ll be the guest speaker at the next gathering of the San Francisco Selenium Meetup Group on the 4th of August (that’s next week!). My talk will be based on my experiences improving the maintainability of large automated test suites using the Page Object pattern. Currently, the meetup is nearly full (with 2 “maybes”), so [...]

Thanks to all who attended my presentation on Tuesday! I hope you found it useful and informative. As promised, here is a link to the sample code: page-objects-demo-code.zip And here is a link to the slides for the presentation: Using The Page Object Pattern

My current client runs a major consumer-facing web application, and I’m helping them build a suite of browser-automation tests using Selenium.  We’ve had a lot of problems with test failures caused by intermittent page load timeouts, though — the application includes a LOT of external resources (1×1 pixel GIFs, javascript, etc.) used to enhance the [...]

I just realized that I never posted a link to the video of my page object presentation at Twitter HQ last year.  For convenience, here’s a link to the code download and the slide deck that I used. Very belated thanks to Sauce Labs for inviting me to present, to Twitter for hosting, and to [...]

We’re using the Sizzle JavaScript library to help us select HTML elements in our suite of Selenium tests.  Sizzle provides all of the useful selectors from CSS3, like nth-child(), as well as some others not provided by CSS3, like nth().  Sounds great, right?  Well, yes… but take a look at the W3C recommendation for nth-child() [...]

If you couldn’t make it to San Francisco for SeleniumConf 2011, fear not — my slide deck and a video of my presentation are now available for your viewing pleasure. Huge thanks to the organizers and the attendees — it was a great event with a fantastic crowd.

I’ve just taken on a new client who wants help writing automated tests for their iOS and Android applications. It’s still early days in the native app automation space, but there are already quite a few open source and free-to-use tools available. One of my responsibilities for this project will be to evaluate them and [...]

I’ve been asked on occasion for links to good references on the Page Object pattern. Here are a few that I’ve collected over the past few months: The Selenium project wiki has a great overview of Page Objects that covers the most important principles The Automated Tester has a simple example of how to implement [...]

A commenter on my earlier post about NativeDriver asked if ND provides a mechanism to simulate touch-specific gestures. At the moment, it doesn’t, but at GTAC2011 today, Google’s Dounia Berrada was kind enough to show me the new touch-specific gesture support in Selenium’s TouchActions class. Since NativeDriver is based on Selenium, I suspect it’s only [...]

Just a quick one: there seem to be two issues that prevent ios-sim from successfully launching an iOS app in the simulator as part of a Jenkins build: Specifying the wrong path for the built application Running Jenkins as a user other than the one currently logged into OS X I got tripped up by [...]

Tools

I have a Rich Text Format file that contains data organized in an outline style.  I need to parse the file and extract the text it contains, but the formatting information is just as important as the text–I need it in order to build data structures that reflect the relationships between the lines of text [...]

My current client runs a major consumer-facing web application, and I’m helping them build a suite of browser-automation tests using Selenium.  We’ve had a lot of problems with test failures caused by intermittent page load timeouts, though — the application includes a LOT of external resources (1×1 pixel GIFs, javascript, etc.) used to enhance the [...]

Now that I’ve set this up, I can’t believe that it’s taken me so long to do it. A bit of googling turned up this blog post, which contained a link to this post in the comments. Since I’m using Homebrew instead of MacPorts, I had to tweak the instructions a bit: Install bash_completion: brew [...]

I’ve just taken on a new client who wants help writing automated tests for their iOS and Android applications. It’s still early days in the native app automation space, but there are already quite a few open source and free-to-use tools available. One of my responsibilities for this project will be to evaluate them and [...]

Today, I’m attempting to install Jenkins under Homebrew on my home server running OS X. I’m ssh-ing into that machine, and got the following error while attempting to launch the program after installation: Bug: launchctl.c:2325 (23930):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 launch_msg(): Socket is not connected A [...]

A commenter on my earlier post about NativeDriver asked if ND provides a mechanism to simulate touch-specific gestures. At the moment, it doesn’t, but at GTAC2011 today, Google’s Dounia Berrada was kind enough to show me the new touch-specific gesture support in Selenium’s TouchActions class. Since NativeDriver is based on Selenium, I suspect it’s only [...]

Just a quick one: there seem to be two issues that prevent ios-sim from successfully launching an iOS app in the simulator as part of a Jenkins build: Specifying the wrong path for the built application Running Jenkins as a user other than the one currently logged into OS X I got tripped up by [...]