Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-23 Thread lakshmi somavaram
Jevon, I will talk to my developers and see what is going on the server side. Thanks a lot for your help, Lakshmi On Thu, Feb 18, 2010 at 4:48 PM, Jevon Wright wrote: > Hi, > > In that stack trace, it is indicating that the server through a 500 > Internal Server Error - in other words, the scr

Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-18 Thread Jevon Wright
Hi, In that stack trace, it is indicating that the server through a 500 Internal Server Error - in other words, the script on the server side crashed. This is beyond JWebUnit's control and indicates a problem with the application you are testing. You may need to debug your server-side script. Jev

Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-18 Thread lakshmi somavaram
Hi Jevon, Yes, you are right, the stack trace that I showed is for assertText failure. I showed that just to show you how the buttons look at the bottom. You can see the 2 problem buttons with ??? marks. Also, assertSubmitButtonPresent("buttonValue","???button.select???"); works fine. So, the sel

Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-17 Thread Jevon Wright
Hi Lakshmi, It looks like there is a problem with your XPath expression: change '@type='submit', @name='buttonValue' and @value='???button.select???'' to '@type='submit'*and *...@name='buttonValue' and @value='???button.select???''. The stack trace you are providing does not relate to clicking a

Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-17 Thread lakshmi somavaram
Hi Jevon, *Here is the code for the buttons from view source of web page:* *Here is the code for the clickElementByXPath:* clickElementByXPath("//inp...@type='submit' and @value='Select']"); clickElementByXPath("//inp...@type='submit', @name='buttonValue' and @value='???button.s

Re: [JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-16 Thread Jevon Wright
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 HtmlUn

[JWebUnit-users] Issues with submit buttons in JWebUnit

2010-02-16 Thread lakshmi somavaram
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