Tuto WEBDEV 25

Part 1: Discovering WEBDEV 55 Adding input checks We are now going to improve our form by adding input checks. We are going to: • force the Web user to type the last name, email and login. • force the password to be typed twice in order to check it. Mandatory input ▶ Go back (if necessary) to the "PAGE_Form" page by clicking its name in the bar of opened documents. ▶ To force the input in the "Last name" control: 1. Double-click the "Last name" control: the description window of control is displayed. 2. Display the "Details" pane. 3. Check "Mandatory input". If this option is checked, WEBDEV will automatically check whether this edit control was filled. 4. Validate the description window. ▶ To apply this modification to the "Email" control: 1. Select the "Email" control (mouse click). 2. Press F4: the last action performed on a control is rerun on the selected control. ▶ Similarly, apply this modification to the "Login" control. ▶ Run the test of this page: 1. Click among the quick access buttons. 2.  In the window that appears, click "SAVE". 3. An information box is automatically displayed to indicate that mandatory controls have not been filled. 4. Validate the information box. 5. Close the browser.

RkJQdWJsaXNoZXIy NDQ0OA==