In this video, Meaghan Lewis shows an example of using drag and drop in a WebDriver test.
- [Instructor] Drag and drop can be great for things … like moving images around a screen … or cropping or resizing images. … It can also be great … to arrange various components on the screen … such as moving virtual note cards around in columns. … In this video, I'll demonstrate an example … of dragging and dropping an image into a box. … Let's start by opening up the exercise file … for this video at 02_08 … and then selecting the start directory. … Once that project is open, … I will go up to the top level menu … and select Build and Build Project … in order to install any necessary dependencies … and make sure the project is built successfully, … and then I'm ready to dive into the test. … So like all the tests before, … this starts by setting the location for the Chrome driver, … creating a new instance of the Chrome driver, … and navigating to a specific page in the test application, … which is drag/drop. … So then, after navigating to the drag/drop page, … I'll be ready to start filling in the steps for my test. …
- 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.