Hi,

is there some publicly available demo website allowing to reproduce the
problem?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Ruslan Roz wrote:
> Hi Marc, 
> 
> I dumped page by following sequences
>       <sleep seconds="1"/>
>       <groovy>
>       def Dump=new File ('orders_dump.html')
>       
> Dump.write(step.context.webClient.getCurrentWindow().enclosedPage.asXm        
> l())
>       </groovy>
> But result is the same. 
> 
> Earlier, pressing "Select" Button <clickButton label="select" />, that load
> discussed Page, go with:
> 
>       Message
>       JavaScript error loading page
> http://localhost:8080/LIFT/ordr/listext:      TypeError: Cannot convert
> null to an object.
> (http://localhost:8080/LIFT/extJS/ext-all-debug.js#1536)
> 
>       Location
>       D:\Installs.FreeWare\Canoo Webtest\myWebTestProject\tests\orders.xml
> (line: 6)
> 
>       Details
>       javascript error TypeError: Cannot convert null to an object.
> (http://localhost:8080/LIFT/extJS/ext-all-debug.js#1536) 
>       line 1536 
>       javascript source   function (R) {
>             return typeof Ext != "undefined" ?
> P(Ext.lib.Event.getEvent(R))  : false;
>         }
>  
>       failing line  
>       javascript call stack TypeError: Cannot convert null to an object.
> (http://localhost:8080/LIFT/extJS/ext-all-debug.js#1536)
>               at (http://localhost:8080/LIFT/extJS/ext-all-debug.js:1536) 
> 
> 
> To avoid JavaScript error, I set enableJavaScript to false before
> clickButton and to true after clickButton.
>       <enableJavaScript enable="false" />
>       <clickButton label="select" />
>       <enableJavaScript enable="true" />
> 
> As I understand now, <enableJavaScript enable="false" /> causes required
> element isn't found by verifyXPath.  
> And before discussion of ExtJS Support I should resolve problem with
> JavaScript error loading page.
> 
> Could you help me in this case?
> 
> 
> Thanks in advance,
> Ruslan
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Marc Guillemot
> Sent: Friday, January 04, 2008 11:19 AM
> To: [email protected]
> Subject: Re: [Webtest] ExtJS Support
> 
> Hi,
> 
> the pages shown in the reports are the rough answers from server when
> any, and - with a recent build - a dump of the page state if it has
> changed since last step.
> This means that for instance
> <invoke url="..."/> --> in report you will see the server report
> <sleep seconds="0"/> --> in report, you will see the page state after js
> processing
> 
> Screenshots don't help.
> 
> Cheers,
> Marc.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to