Are you sure that js is still executed after the step finished? In this case this would mean that this js code has been started in some background job (with a window.setTimeOut for instance).
What does happend when you use a sleep (with an exagerated long time to be sure to wait long enough)? If some background js processing is beeing processed, then it should have time to finish. In your example, which step fails? The verifyTitle? Marc. Andrew Sickorsky wrote: > > Sorry for disturbing :-) > It seems that problem is in GWT scripts: they should build table itself > after invoking a page. In this case two steps needed for test to > continue execution: > 1) page with script loads > 2) table builds via JS > But for such scenario: > <clickLink label="Excel feed" description="click on Excel feed link"/> > <verifyTitle text="Data analysis - View data" description="'Verify title > is Data analysis - View data'"/> > seems that table doesn't build properly. > so - is any way to WAIT while JS finished it's work on building the > table? <sleep> step seems doesn't work in this case. > > > Regards > Andrew >> Hello all! >> >> I've testing our application partly based on GWT (especially GWT >> table). Sometimes I get an error message about exception >> "EcmaError: lineNumber=[1198] column=[0] lineSource=[null] >> name=[TypeError] sourceName=[Script in >> http://localhost/services/gwt/com.texunatech.services.gwt.analysis.Table/85994E5D93763735D31CE9DF5D0B14D4.cache.html?0 >> >> from (10, 9) to (0, 0)] message=[TypeError: Cannot find function h. >> (Script in >> http://localhost/services/gwt/com.texunatech.services.gwt.analysis.Table/85994E5D93763735D31CE9DF5D0B14D4.cache.html?0 >> >> from (10, 9) to (0, 0)#1198)]" >> Because of this exception I couldn't test a large part of our >> application (it is thrown by JS links, pop-ups, etc). May be someone >> experience the same problem with GWT? >> >> >> Thanks in advance >> Andrew >> _______________________________________________ >> WebTest mailing list >> [email protected] >> http://lists.canoo.com/mailman/listinfo/webtest > > > begin:vcard > fn:Andrew Sickorsky > n:Sickorsky;Andrew > org:Texuna Technologies Ltd. > email;internet:[EMAIL PROTECTED] > title:Tester > tel;cell:+7 909 9070328 > x-mozilla-html:TRUE > url:www.texunatech.com > version:2.1 > end:vcard > > > -- View this message in context: http://www.nabble.com/Script-exception-in-GWT---who-knows--tf4067167.html#a11557883 Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

