Selenium Simplified - Automated Browser Testing With Selenium WebDriver Made Simple

Oct 8, 2013 - 1 minute read - Courses Selenium Simplified Blog

Free Start Using Selenium WebDriver With Java Course

I am in the process of moving my “Start Using Selenium WebDriver With Java” Online Course to YouTube and other hosting platforms. The main page for the course is now here http://seleniumsimplified.com/get-started This hopefully means more free videos on YouTube and more introductory posts on this site. If you want to as questions then use the comment feature on the blog post or contact me.  

Oct 8, 2013 - 4 minute read - Courses Selenium Simplified Blog

Supporting notes and handouts for our Getting Started Online Course

This post supports our free online Get Started With Selenium WebDriver Using Maven, IntelliJ and Java Course These notes are not ‘instead of’ working through the course. They are a supporting handout with the main links used in the course. But might help someone as a stand alone set of notes. A cheat sheet, in other words. Microsoft Virtual PC Compatibility Images This should be your first stop http://www.modern.ie/en-us

Oct 8, 2013 - 1 minute read - FAQ Selenium Simplified Blog

FAQ: What to do when things go wrong - first things first?

Things might go wrong when you follow online instructions, or tutorials you see on this blog or others. Your setup might not be the same as mine, you might not notice that some of the earlier steps have failed. When things go wrong, drop down to the command line and make sure that the basics work: mvn -v javac -version In your project folder make sure that “mvn clean” works without error.

Oct 8, 2013 - 2 minute read - FAQ Selenium Simplified Blog

FAQ: What are my next steps after writing my first Selenium WebDriver test?

You have installed the tools? You have an IDE setup? You’ve written and run your first Selenium WebDriver test? If not then follow our free tutorial videos on this very site, then come back here. Web Resources You need to: Browse the documentation on the Selenium HQ (http://seleniumhq.org/) site. Follow theofficial blog , particularly the “Smattering of Selenium” posts that Adam Goucher writes (http://seleniumhq.wordpress.com/) Read and follow my Selenium Simplified blog rss feed or

Oct 2, 2013 - 2 minute read - FAQ Selenium Simplified Blog

FAQ: Why Does Selenium Not Work With This Alert?

I received another question about Alerts this morning. I receive this question frequently enough that I should consider it an FAQ. So “Why does Selenium not work with my Alert?” or “Why can’t Selenium handle the alert in my application?” There is an FAQ answer on the Selenium wiki that shows the Alerts API But that typically doesn’t answer the question because the person asking the question has used the alerts API.

Aug 30, 2013 - 2 minute read - Selenium Simplified Blog WebDriver

Alternative Uses for GhostDriver and Headless Browser testing

I’ve been using GhostDriver recently. I could never get along with HTTPUnit driver, it so rarely worked for me. But GhostDriver has been magnificent. Whenever I want to do any headless browser testing I use GhostDriver. I blogged about my use of GhostDriver to test www to mobile site redirection, over on eviltester.com. I’ve also been using it as part of a “Tester’s Link Checker” I’ve been experimenting with. I use it because it is easy to add to my project.

Aug 30, 2013 - 1 minute read - FAQ Firefox Java Selenium Simplified Blog WebDriver

FAQ: Why has my Firefox Selenium WebDriver Browser Not Closed

A few FAQs come up on the Start Selenium Simplified course. When they do, it usually means that I haven’t done a good enough job of making the answer visible the first time I address it. One that crops up a lot is “Why is my browser not closing?” Because WebDriver has two methods:  .close .quit The documentation for .close says that it will close the browser if it is the last window that is closed.

Aug 30, 2013 - 1 minute read - FAQ Java Selenium Simplified Blog

FAQ: Why are my JUnit asserts showing as deprecated

I tend to use Hamcrest’s AssertThat now, but I still write Assert in some of my example code. JUnit has a tendency to move code around, but it deprecates the old code, and there is usually a comment in the JUnit code somewhere explaining what to use instead. But a common question on the Start Selenium WebDriver course relates to “Why are my asserts deprecated” and its usually because JUnit codebase has changed.

Aug 22, 2013 - 1 minute read - FAQ Maven Selenium Simplified Blog

Maven Troubleshooting Tips and FAQs

I’ve released a lot of videos showing how to get started with Maven and Selenium. They tend to help people see that the actions are possible, but if they run across an individual issue for their environment they may not know exactly what to do. On my Selenium WebDriver course I had a list of Maven Troubleshooting Hints and Tips. I’ve just released that to Slideshare as a pdf. Pretty simple stuff, but I’ve had to do all of these.

Aug 17, 2013 - 3 minute read - Practices Selenium Simplified Blog WebDriver

Helper Classes for SlowLoadableComponent Page Objects

I generally caution against ‘Helper’ classes and Static Helper classes when I’m consulting for automation. e.g. PageObjectHelper, or ApplicationHelpers, or StringHelpers etc. Because ‘generally’, these ‘Helper’ objects mean “We created a class to dump stuff in because we couldn’t figure out how to model our abstraction layers” and often, people then dump more and more methods into them such that they become an undisorganized and unmaintainable mess. Just so you know where I’m coming from here.