Script is running fine in TestComplete but if you run it using TestExecute, "Unable to find the object ToURL ..." error is displayed.
We need to be able to run the script via TextExecute on the test server using task scheduler.
Also, in the future, please do not send us duplicated requests (note that we reply to messages sent via the Contact Support form, AutomatedQA newsgroups, AutomatedQA forums, and the TestComplete section of the SQAforums site). This makes processing your requests much more difficult for us and does not increase the requests' priority anyway.
Re: Unable to find the object ToURL in TestExecute
Have you tried using NavigateTo method instead?
In this case you'll have to obtain page and wait until it is loaded by yourself.
I remember I had also problems when using ToUrl method with firefox and solved in in this way.