课程: Selenium Essential Training

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Automate a workflow using WebDriver

Automate a workflow using WebDriver - Selenium教程

课程: Selenium Essential Training

Automate a workflow using WebDriver

- [Presenter] Let's automate this form page which demonstrates creating a new user account for the Formy project. This form has various components such as text fields, radio buttons, check boxes, select menus, and a date picker. After submitting the form, the application is redirected to a confirmation page. Now it's time to start automating this test. I'll start by opening up the exercise file for this video by navigating to chapter six, 06_01, and opening up the start directory. Once the project opens, I'll go to Build, Build Project, and once that's successful, I'll start to fill in the details for the test class called Form. To do that, I'll hop back over to the test application and go ahead and inspect the first name field to get its locator. I see that it has various attributes such as a class and ID placeholder. I'll go ahead and copy the ID here and take it back to the test. And after navigating to the form on line 13, I'll skip a line, and on line 15, I want to define my web…

内容