Exercises

  1. Add some more controls to the simple Web page used in today's lesson. Try different controls, text boxes, submit buttons, and images. Now generate a new test using the wizard and examine the resulting script—what is different?

  2. Create an ASP.NET page that uses authentication and cookies. Create custom users and set the cookies to both succeed and fail. Use the wizard to generate a test, and make sure that you generate both valid login attempts and failing login attempts. What codes are returned?

  3. Create a new Visual Basic .NET project (or your favorite .NET language) and convert the sample script for a scheduled test discussed in the chapter to .NET. (Hint: You must add a reference to the Microsoft ACT Application Object Model 1.0 Type ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days 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.