Selenium 2 WebDriver with Java
By Alan richardson
This course has been highly rated by the people taking it. You can read some of their comments.
“Superb course!…One of the best technical courses I’ve been on… Well done Alan!”
“Selenium 2: WebDriver Basics in Java” is a hands on training course designed to teach the basics of the WebDriver API using Java.
The course is designed to build simply, and learn by doing, with continual elaboration of the API.
For each section we briefly discuss the theory, showing code examples to put it into context, then we do some hands on work followed by a discussion of the exercises and code reviews of worked examples.
While the course is not designed to teach Java, only a basic level of Java is used and the principles of the code are explained as we go. This course is not suitable for people who have not programmed before, but people who have programmed in other languages should adapt quickly.
Tests are run from the IDE, and we use maven so that the final tests are suitable for execution from continuous integration.
“Invaluable course for learning Selenium WebDriver – can’t rate high enough!”
How can I take the course
We want everyone to benefit from this course so you can take the course in a number of ways:
- Online as a self study course,
- On site at your company for groups of up to 10 people, over 2 to 3 days
- contact for more details
“Best technical course ever”
WebDriver is the web automation tool of the moment. WebDriver skills are in demand. And when you understand the WebDriver usage patterns, that this course teaches, then you can increase your automation effectiveness.
An easy way to learn an automated test tool is by learning from the experiences of someone who knows how to use it. And that is what we do on this course.
Alan has been working with Selenium since 2007, and WebDriver since 2010. Over the years he has helped his staff learn Selenium using the methods in this course: discussing the theory, showing examples, hands on work, then critique and code reviews of worked examples.
In this course you will learn real world techniques associated with the WebDriver API based on experience of using WebDriver to automate production web sites.
This course focuses on the information you need to get productive with WebDriver. We don’t spend any time on the Selenium IDE, because you won’t use that in a production environment. We don’t spend any time on padding covering the architecture of WebDriver because you can find that information on the Web, and you don’t need to know it, to get productive.
Throughout the course we stress, and demonstrate, self learning strategies so that you don’t just learn the WebDriver API in depth, you also learn how to discover more on your own.
Online Course Outline Additions
We have taken a 2-3 day course and condensed it into 15+ hours of video, and it should take you about an additional 8 hours of self learning to do the exercises.
View the outline, and the free preview lectures, and make up your own mind how well this course fits your learning needs and style.
When you are sure the course will help you and your team, you can enroll in the online video based training in Selenium WebDriver and immediately start learning.
As well as the lectures, and the exercises, we also have over 200 slides to aid your self study, and 4500 lines of code to study (calculated using MetricsReloaded).
Course Goals and Objectives
- By the end of this course you will have a working knowledge of the main parts of the WebDriver API
- You will know how to create effective synchronisation routines to minimise intermittency
- You will know how to investigate the functionality of WebDriver by looking in the WebDriver code
- You will know how to craft effective assertions using JUnit and Hamcrest
- You will understand how to run your tests on different browsers
- You will know how to use the Selenium Grid
- You will understand different locator strategies and know how to use both CSS selectors and XPath selectors
What People have said about the online course
Everything you ever wanted to know about … but did not even know the questions
Very comprehensive basic knowledge about Automation, Automation tools, Java & Tools, methodology and more…
Usually ‘and more, much, much more’ is meaningless but in this case it is absolutely true. Aside of the basic Alan provides you with the compass and the map to explore more on your own. …
Excellent coverage and code examples!
I can’t rate this highly enough. It’s a superb example of a successful and engaging online course, which is no small accomplishment given the complexity of Java and Selenium…
One of the best technical courses I’ve been on, really nailed the subject for somebody who’s technical but doesn’t know much Java. I’m already creating Webdriver frameworks in my current role and look forward to learning more in the future. Well done Alan!
Best selenium tutorial around
Highly recommend this course ‘WebDriver basics with Java’
Invaluable course for learning Selenium WebDriver – can’t rate high enough!
I can’t rate this course highly enough…..those interested in improving their skills and continually learning – this course is for you!
One of a kind course on Selenium
What I really appreciate is the insight on Alan’s automation testing mindset that would probably take years of experience and several mistakes to learn by oneself. That is something that you don’t normally find in a book…
Excellent course I have come across in my 7 years of testing career
I have been manual tester for years and I was looking for something online to learn automation testing … I fully recommend you to take this course.
Reinvigorated my motivation for learning…
Alan Richardson’s Selenium training videos have reinvigorated my motivation for learning. His manner and methods are simple, concise and real world. The best teacher I have had in years.
Covers Webdriver in depth. Course content is best as it can be and Exercises give an opportunity to get hands on and achieve the maximum out of the course. One of the best courses in the market.
Best technical course ever
I went out and bought an iPad mini so that I could watch both of Alan’s courses and its been well worth it. … Alan covers a lot more than just Selenium pay the small fee and learn from IMHO the best in his field.
This course is very well structured and builds the learning curve steadily. There are practical examples and exercises to put learning into practice and no short supply of humour along the way. Crucially, my interest levels were kept high right to the end.
A “Must Have” type of course
Alan Richardson walks you through every step necessary to get up and running with Webdriver / Selenium 2. … You will be able to create your own projects and write your own code in next to no time at all.
You will learn so much more than just Selenium WebDriver!
… Well worth the money!
You can read even more reviews for this course here.
- Testers with some experience of programming
- Programmers who want to learn browser automation
- Selenium RC users who want to learn WebDriver
- Windows PC, although instructions should work on Linux or Mac
- Open source and free tools: IDE, Java SDK, Firefox, Chrome
The full course syllabus can be found on the course page.
- A brief overview of Selenium and Logistics for the course
- Course Materials
- SourceCode (4500 lines of code), 200+ slides
- Create a Project
- An introduction to maven, where we create a maven project, import the pom and get ready to create tests.
- Begin Coding
- A very simple walkthrough of a basic ‘My First WebDriver Test’ and have it working with HtmlUnit and Firefox.
- Basic Automation
- An overview of the basics of what we need to understand to automate web applications: Navigation, Interrogation, Manipulation and Synchronisation.
- An introduction to JUnit and effective assertion practices.
- A More detailed look at Maven and how it finds its dependencies.
- @Before, @After, @BeforeClass, @AfterClass
- Exercises involving simple Java to explore JUnit assertions and annotations
- An introduction to Hamcrest matchers, comparing them to JUnit asserts
- The basic navigation commands
- An overview of the WebDriver Class
- Navigation Exercises
- Driver level interrogation: getTitle, getCurrentUrl, etc.
- findElement and findElements
- By methods compared
- various Interrogation Exercises
- CSS Selectors
- Useful References
- Basics of CSS Selectors
- Plugins for Firefox and Chrome
- Exercises and Examples
- XPath Location
- Useful References
- Basics of XPath
- Exercises and Examples
- WebElement methods for manipulation
- Introduce WebDriverWait ExpectedConditions for synchronisation
- dealing with forms and HTML Elements
- SendKeys method explored
- The Select support class
- User Interactions
- Actions sequence methods explored
- Dealing with Alerts
- Alert methods explored
- Frames and Windows
- WebDriver methods explained
- Frames Examples
- Frames Exercises
- Windows Explained
- Windows Example
- Windows Exercises
- Manipulating the browser window
- Synchronisation Strategies
- Why we need synchronisation
- Exercise using debugging
- WebDriverWait explained in more detail
- ExpectedConditions explained
- Create Custom ExpectedCondition(s)
- Inline adhoc wait approaches
- WebDriverWait Fluent interface
- FluentWait, Function & Predicate
- Implicit vs Explicit Wait
- reading cookies
- managing cookies
- cookie builder
- Use of Different Browsers
- Google Chrome
- Remote Driver using Saucelabs
- Selenium Grid 2