As Web applications have become more complex, testing them has become more important. There are many testing techniques available to you. For example, in the April 2005 issue of MSDN®Magazine, I describe a simple JScript®-based system that can test a Web app through its UI by using the Internet Explorer Document Object Model. That technique is effective but has several limitations. Some of my colleagues asked me if it was possible to use the .NET Framework to write more powerful but still lightweight automation that tests Web apps through their UI. In this month's column I'll show you how to do just that. The low-level technique involves calling directly into the fmshtml.dll and shdocvw.dll libraries to access and manipulate HTML objects in the client area of Microsoft® Internet Explorer.
|