From the course: Advanced Selenium: Automation Frameworks
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing with Watir: Navigate and wait - Selenium Tutorial
From the course: Advanced Selenium: Automation Frameworks
Testing with Watir: Navigate and wait
- [Instructor] Okay, so let's go ahead and get started with Water. Water defaults to using the Chrome browser but with the web driver's gem installed, you could tell Water to use any browser that's installed on your computer. First things first, in the tutorial_spec.rb file, we're going to create a test block. Rspec uses descriptive test blocks that describe what an application should be capable of doing. So go ahead and make some room. Notice that when you start the test block, Atom will add the end keyword for you. Let's go ahead and start our browser session. Next, we'll tell it to navigate to our website, explorecalifornia.org. And then we'll load the contact form. Let's go ahead and have a look at our browser. Navigate to the Contact form. Go ahead and scroll down until you see a field marked Name. We want to ensure that both the first and the last field in the form were loaded every time we start our test.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Getting started with Ruby23s
-
(Locked)
Managing packages with Bundler4m 28s
-
(Locked)
Installing Bundler gems1m
-
(Locked)
Introducing RSpec59s
-
(Locked)
Introducing Watir1m 59s
-
(Locked)
Testing with Watir: Navigate and wait4m 39s
-
(Locked)
Testing with Watir: Inputs4m 41s
-
(Locked)
Testing with Watir: Assertions2m 22s
-
(Locked)
-
-
-