Yes, XPath explorer can successfully identify required element.

If I open tested page by "View Source" directly in the browser then required
element doesn't exist, and page contains only scripts for generation of
required element.

These elements (under /table/tbody) are generated by JavaScript dynamically.
We're using ExtJS grid in our project (http://extjs.com/). There is
everything based on JavaScript.

Also required element doesn't appear on Error Page of WebTest Results.

Thanks,
Ruslan
  
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Marc Guillemot
Sent: Friday, December 28, 2007 10:12 AM
To: [email protected]
Subject: Re: [Webtest] ExtJS Support

what for ugly xpath expressions!

You've tested on the generated source with XPath explorer? Can you check
this directly in the browser, on the parsed source?

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


Ruslan Roz wrote:
> Hi,
> 
>  
> 
> I am trying to test application that includes ExtJS table.
> 
>  
> 
> If I test XPath expressions
>
"/html/body/div[3]/div/div/div/div[1]/div/div/div/div/div/div/div/div[1]/tab
le/tbody/tr/td[1]/div")
> that access element of ExtJS table from XPath explorer, test passes
> successfully
> 
>  
> 
> But if I verifyXPath(xpath:
>
"/html/body/div[3]/div/div/div/div[1]/div/div/div/div/div/div/div/div[1]/tab
le/tbody/tr/td[1]/div")
> in groovy test then it matches no nodes.
> 
>  
> 
> Does Canoo WebTest support ExtJS testing?
> 
> Ruslan

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


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

Reply via email to