15.7. Implementation and Testing

If you debug the application, you should see something like (Figure 15-1).

Figure 15.1. Figure 15-1

Click the Register button in the ApplicationControlBar and you should see something like (Figure 15-2).

Figure 15.2. Figure 15-2

You are not going to bother testing valid values for each input, but you should make sure that form validation is at least being triggered. Try submitting the form with no values and you should see an alert like the one in (Figure 15-3).

Figure 15.3. Figure 15-3

Click OK to close the alert and you should see that the form fields have been highlighted in red. If you mouse over each one you should see a message indicating how to fix the problem, as in (Figure 15-4).

Figure 15.4. Figure 15-4

Since you have a basic idea that validation is working, you will leave this page as is for now.

Now create the following account and click Register:

  • First Name = test

  • Last Name = user

  • User Name = testuser

  • Password = password

You should now see something like (Figure 15-5), which shows the success message with the form cleared.

Figure ...

Get Professional Cairngorm™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.