Hi Lakshmi,
Can you post the HTML source code of the generated buttons, and the code you
were trying to use with clickElementByXPath()?
The two libraries you have mentioned are server-side libraries. JWebUnit
actually navigates the web application from the point of view of a browser,
using HtmlUnit. It has no idea which server-side technology you are using -
so for example, you could test JSP, PHP, .Net or even CGI applications with
it.
Jevon
On Wed, Feb 17, 2010 at 5:13 AM, lakshmi somavaram <lsomava...@gmail.com>wrote:
> Dear users,
>
> I have 4 buttons on a webpage and JwebUnit (clickButtonWithText) recognizes
> 2 of them and not the other 2.
> After speaking with developers, I heard that 2 that are recognized were
> created using struts.apache.org/tags-html tag library
> The 2 that do not work were created with java.sun.com/jsp/jstl/fm tlibrary
>
> I have tried using all the submit() functions as well. I also used,
> clickElementByXPath.
>
> Any idea how this can be resolved? Also, what is used for rendering the
> pages in JWebUnit? Does theJWebUnit program that renders the webpage use
> both the libraries that I have mentioned?
>
> Any help will be greatly appreciated.
>
> Thank you,
> Lakshmi.
>
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> JWebUnit-users mailing list
> JWebUnit-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
>
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users