Testing the Application

team lib

Testing the example is relatively easy. All you need to do is register the component on the server, place the ASP page in an accessible location of the Web server directory, and point your browser to the correct location. You don't even have to register a proxy on the local machine for this example-all component access occurs on the server.

Figure 11-14 shows the browser output for one of the test pages in the database. Notice that IIS has fully formatted the output. Even the content has the proper formatting because of the tags included within the database table. For example, notice that the word many in the description is in bold. Using the database technique presented in this chapter has many advantages because the person creating the content need only access the database, not the Web site.

click to expand
Figure 11-14: The browser test shows the final output of the Web-based application.

Make sure you perform a reasonable amount of link testing when you initially put the application together. For example, in this case, we'd want to check the ability of the application to get back to the main Web page with a single click, use links that are embedded within the database content, and perform title searches.

 
team lib


COM Programming with Microsoft .NET
COM Programming with Microsoft .NET
ISBN: 0735618755
EAN: 2147483647
Year: 2006
Pages: 140

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net