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 Selenide: Inputs - Selenium Tutorial
From the course: Advanced Selenium: Automation Frameworks
Testing with Selenide: Inputs
- [Instructor] Now that we know that our form is loading correctly, let's go ahead and move on to filling out the form. We're going to go ahead and in IntelliJ, we're going to copy the name field selector, and then we're just copying the selector statement here. Go ahead and make some room at the bottom, and paste that selector, that looks good. Now, instead of should appear, we're going to call the setValue method, and then we're going to go ahead and pass in a name to set in the form as a string argument, and you can do anything you want, you can do any text here, you can do your name, you can do your friend's name, it's all good. I'm just going to go ahead and use my own name. That looks pretty good! Let's go ahead and move on to the state dropdown selector. We'll switch over to our browser window, and we're going to right-click on the State dropdown. So right here where it says State, and it should be defaulted to…
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 Java46s
-
(Locked)
Managing packages with Maven4m 2s
-
(Locked)
Introducing JUnit2m 27s
-
(Locked)
Introducing Selenide1m 14s
-
(Locked)
Testing with Selenide: Navigate and wait3m 54s
-
(Locked)
Testing with Selenide: Inputs4m 36s
-
(Locked)
Testing with Selenide: Assertions3m 6s
-
(Locked)
-