In this video, Meaghan Lewis shares tips and tricks of working with Selenium WebDriver and talks about the importance of building a robust automation suite.
- [Instructor] In this video … I'll explain more about how WebDriver works … through the use of a simple test written in Java. … The test is shown here in the IDE IntelliJ. … At the top of this test class on lines one through four, … I start by importing the various packages … to use Selenium functionality. … I'll explain how the packages are used in just a minute. … For now let's focus on the details of the test class. … In line 10 I set the location for the ChromeDriver … specifying where the ChromeDriver is downloaded … on my local computer. … In the body of the test class there is a short test … that sets up a new WebDriver instance … of ChromeDriver on line 13. … On line 16 it navigates to Google. … On line 19 it finds an element with the name of q. … On line 22 it sends keys to it. … And then on line 25 it submits to that field. … Then on line 28 it quits the driver. … Now I'll walk through each line of this test in detail. … First, a new instance … of the ChromeDriver object is instantiated. …
- Using browser drivers and WebDriver
- Inspecting elements
- Selecting a locator
- Combining multiple CSS attributes
- Using common components
- Implicit and explicit waits
- Automating workflows
- Testing behaviors
- Using page objects
- Connecting to GitHub
- Running on the grid
- Using cloud-based testing tools
Skill Level Intermediate
1. Review Fundamentals
2. Succeeding with WebDriver
3. Using Advanced Locators
4. Interacting with Components
5. Synchronization Issues
6. Putting It All Together
7. Project Integration
Next steps1m 41s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.