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

Testing with Selenide: Inputs - Selenium Tutorial

From the course: Advanced Selenium: Automation Frameworks

Start my 1-month free trial

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…

Contents