Any test should include “assert” part. Validation of expected Url is common for any web tests. I use “Coded UI Test Builder” for capturing application objects and for finding out their right properties that are need to be validated. When object is captured it is indicated by the blue outline.
I selected the Address Bar in IE8, but this object did not include any property with url address. I was surprised, because it worked as expected for IE7.
Finally, the right object was found: control type – HtmlDocument, property – PageUrl.