On further use this method also won't work in certain situations.
For example:
I'm half way through a test and want to return to my main page. Perhaps a dialog is also present. The focus is therefor not on the address bar and there is no ways to type in the address.
This means I have to first focus/find the address bar... this is getting a little more complicated but not impossible.
On IE this is fine but I'm testing on all 5 browsers. Also Using the object spy it doesn't seem like TC can see chrome's adsress bar.
This is now alot more complicated then using a simple method like navigate.
The reason why I am not using navigate is as follows:
on IE and Chrome every thing is Fine. The problem starts on FireFox.
I'm half way through a test and something goes wrong so I enter the OnLogError event handler.
I want to return to my main page to start fresh for my next test so I want to *navigate* to it.
However a pop up dialog appears asking me "are you sure you want to leave the current page?".
On IE and chrome I can Find the dialog and click the button no problem and then the test continues to wait for the main page to load.
On Firefox it just gets stuck. Nothing happens. The dialog appears and it seems like its forever waiting for the next page to load it doesn't even attempt to find the dialog or button nor does it time out!