December 2008 Entries
In some instances it might be best if your tests did not run in the same application as the website being tested. This is where the “IApplicationPathFinder” interface comes into play. If you implement this interface you will see that it only has one method “GetApplicationpath.” What this does is allow you to specify a prefix of sorts for the navigate method. When you call navigate on a HTMLPage it uses a ApplicationPathFinder to get the location it should look for the website at. For example, the framework will implement this interface and simply return the request path by default. ...
In some instances it might be best if your tests did not run in the same application as the website being tested. This is where the “IApplicationPathFinder” interface comes into play. If you implement this interface you will see that it only has one method “GetApplicationpath.” What this does is allow you to specify a prefix of sorts for the navigate method. When you call navigate on a HTMLPage it uses a ApplicationPathFinder to get the location it should look for the website at. For example, the framework will implement this interface and simply return “http://localhost” by default. Creating your...