[Webtest] [webtest][JIRA] Created: (WT-421) AJAX problem with richfaces/ajax4jsf components

Harihara Vinayakaram Harihara Vinayakaram" <hvram1@gmail.com
Sat, 10 May 2008 12:07:11 +0530


------=_Part_6237_17917915.1210401431942
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi
   Which version of WebTest and which version of  RichFaces are you using ?
I am using Web Test build 1700 and have tried Rich.Tab in RichFaces 3.12

   M normal clicks work, I got this error only when I did a restore previous
response and then did a click

Regards
Hari

On Fri, May 9, 2008 at 4:48 PM, Stephane Epardaud (JIRA) <noreply@canoo.com>
wrote:

> AJAX problem with richfaces/ajax4jsf components
> -----------------------------------------------
>
>         Key: WT-421
>         URL: http://webtest-community.canoo.com/jira/browse/WT-421
>     Project: WebTest
>        Type: Bug
>
>    Versions: 2.6
>    Reporter: Stephane Epardaud
>
>
> I am trying to use webtest to test our website, and although it seems to be
> a great tool for most "normal" (non-ajax) web pages, it seems to have a
> problem with the ajax produced by ajax4jsf (now merged with richfaces).
>
> When I try to click on links produced by ajax4jsf I get the following
> error:
>
> JavaScript error loading page
> http://localhost:8080/vl/view/AWC-15?tab=attachments: TypeError: Cannot
> read property "target" from undefined (
> http://localhost:8080/vl/a4j_3_1_3.GAorg.ajax4jsf.javascript.AjaxScript#63
> )
>
> This is happening on my local development server, but should be happening
> just as well on our production web site, where a free registration is
> required. If you want I can create an account for test purposes and give you
> a complete webtest xml file for testing this issue.
>
> I'd be glad to help if I can, thanks for this great test framework.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>

------=_Part_6237_17917915.1210401431942
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi<br>&nbsp;&nbsp; Which version of WebTest and which version of&nbsp; RichFaces are you using ? I am using Web Test build 1700 and have tried Rich.Tab in RichFaces 3.12 <br><br>&nbsp;&nbsp; M normal clicks work, I got this error only when I did a restore previous response and then did a click <br>
<br>Regards<br>Hari<br><br><div class="gmail_quote">On Fri, May 9, 2008 at 4:48 PM, Stephane Epardaud (JIRA) &lt;<a href="mailto:noreply@canoo.com">noreply@canoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
AJAX problem with richfaces/ajax4jsf components<br>
-----------------------------------------------<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; Key: WT-421<br>
 &nbsp; &nbsp; &nbsp; &nbsp; URL: <a href="http://webtest-community.canoo.com/jira/browse/WT-421" target="_blank">http://webtest-community.canoo.com/jira/browse/WT-421</a><br>
 &nbsp; &nbsp; Project: WebTest<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Type: Bug<br>
<br>
 &nbsp; &nbsp;Versions: 2.6<br>
 &nbsp; &nbsp;Reporter: Stephane Epardaud<br>
<br>
<br>
I am trying to use webtest to test our website, and although it seems to be a great tool for most &quot;normal&quot; (non-ajax) web pages, it seems to have a problem with the ajax produced by ajax4jsf (now merged with richfaces).<br>

<br>
When I try to click on links produced by ajax4jsf I get the following error:<br>
<br>
JavaScript error loading page <a href="http://localhost:8080/vl/view/AWC-15?tab=attachments" target="_blank">http://localhost:8080/vl/view/AWC-15?tab=attachments</a>: TypeError: Cannot read property &quot;target&quot; from undefined (<a href="http://localhost:8080/vl/a4j_3_1_3.GAorg.ajax4jsf.javascript.AjaxScript#63" target="_blank">http://localhost:8080/vl/a4j_3_1_3.GAorg.ajax4jsf.javascript.AjaxScript#63</a>)<br>

<br>
This is happening on my local development server, but should be happening just as well on our production web site, where a free registration is required. If you want I can create an account for test purposes and give you a complete webtest xml file for testing this issue.<br>

<br>
I&#39;d be glad to help if I can, thanks for this great test framework.<br>
<br>
--<br>
This message is automatically generated by JIRA.<br>
-<br>
If you think it was sent incorrectly contact one of the administrators:<br>
 &nbsp; <a href="http://webtest-community.canoo.com/jira/secure/Administrators.jspa" target="_blank">http://webtest-community.canoo.com/jira/secure/Administrators.jspa</a><br>
-<br>
For more information on JIRA, see:<br>
 &nbsp; <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
<a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a><br>
<a href="http://lists.canoo.com/mailman/listinfo/webtest" target="_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
</blockquote></div><br>

------=_Part_6237_17917915.1210401431942--