I am trying to write HttpUnit test case for a JSP page. The JSP page is a Struts JSP page with struts tags. The JSP page has following structure
< html: form action = "/something.do">
<tr><td><html:text property = "prop1" />Prop1</td></tr>
<tr><td><html:text property = "prop2" />Prop2</td></tr>
<tr><td><html:image alt = "Add" src= "../images/add.gif" property="add"></html:image>
I would the testcase to show the clicking of the add button. How do I do this?? I am not able it to recognise the source of the image and invoke submit . Any sample code that would tell me how to do this would be good.
The number of companies understanding the potential of IoT on B2B market is growing with each day. And yet only a small share of IoT developers have managed to equalize incomes and stay competitive in the international market.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Enter Foreign and Special Characters
Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~
Use these codes in any Windows application! ... whether it is a Micr…