jlivengood
14 years agoOccasional Contributor
ToUrl method not working after Upgrade
I have what maybe the simplest script for testing a web app in the world. It hopefully just goes to my web apps login page.It looks like the following.
function TestLogin()
{
var proc = TestedApps["firefox"]["Run"](1,true);
proc["ToUrl"](http://xxx.yyy.com/login.aspx);
}
Right now my browser launches,the browser homepage is displayed, and nothing else happens. My apps login page never appears. Log says the script executed fine. I saw some posts stating that sometimes if a trial of TestComplete is upgraded to an Enterprise Version (as mine was) you can have some problems with the ["ToUrl"] method executing before the browser gets to completely load the homepage (line 1 of TestLogin() essentially).
Post is here(http://smartbear.com/forums/forum/post/?mode=singleThread&thread=675164ed-cbe9-41d6-9978-5324d4599370) I upped the Auto-wait timeout per the post suggestion but this did not help. Any suggestions on how to remedy this would be greatly appreciated.
function TestLogin()
{
var proc = TestedApps["firefox"]["Run"](1,true);
proc["ToUrl"](http://xxx.yyy.com/login.aspx);
}
Right now my browser launches,the browser homepage is displayed, and nothing else happens. My apps login page never appears. Log says the script executed fine. I saw some posts stating that sometimes if a trial of TestComplete is upgraded to an Enterprise Version (as mine was) you can have some problems with the ["ToUrl"] method executing before the browser gets to completely load the homepage (line 1 of TestLogin() essentially).
Post is here(http://smartbear.com/forums/forum/post/?mode=singleThread&thread=675164ed-cbe9-41d6-9978-5324d4599370) I upped the Auto-wait timeout per the post suggestion but this did not help. Any suggestions on how to remedy this would be greatly appreciated.