Hi, setting document.location shouldn't cause any problem to WebTest. Please provide more detailed information allowing to reproduce the problem.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Janet Gregory wrote: > Our application is forcing the browser to navigate to a different page > with the following > > javascript, but we can't get webtest to recognize the new page. > > document.location = "http://the_new_url" > > When this executes the following output is given: > > INFO ( > > com.canoo.webtest.engine.WebClientContext) - Content of window changed > to about:blank (text/html) > > INFO ( > > com.canoo.webtest.engine.WebClientContext) - Content of window changed > without javascript, it will become current response > > INFO ( > > com.canoo.webtest.engine.WebClientContext) - Current form set to none > > INFO ( > > com.canoo.webtest.engine.WebClientContext) - Current response now: > about:blank > > printing out the response gives this: > > INFO ( > > com.canoo.webtest.extension.groovy.GroovyStep) - <?xml version="1.0" > encoding="ISO-8859-1"?> > > < > > html/> > > Is there anyone who has had success with > > webtest using this type of javascript? Does webtest support this? > > Thx, > > Janet Gregory > > > > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

