Hi,

You may be interested in something like JUnit 4's Parametized class:
http://junit.org/apidocs/org/junit/runners/Parameterized.html

Though I'm not sure if JWebUnit works with JUnit 4?

Cheers
Jevon

On 6/9/09, Singh-2, Rajinder <[email protected]> wrote:
>
>  Hi
>
>
>
> Is there any way in which I can write the test method in JWebUnit which can
> be called n number of times for different input parameters i.e. writing a
> parameterized test method.
>
> I need to get the detailed report in JunitReport for each time the method
> ran for different parameters.
>
>
>
> Right now I am unable to write a test method with parameters.
>
>
>
> Please help.
>
>
>
> Regards
>
> Rajinder
>
>
>  ------------------------------
>
> *From:* Singh-2, Rajinder [mailto:[email protected]]
> *Sent:* Tuesday, June 02, 2009 12:13 PM
> *To:* [email protected]
> *Subject:* [JWebUnit-development] JWebUnit-Help Needed
>
>
>
> Hi,
>
>
>
> I want to click an Image in form on my HTML page
>
>
>
> *<INPUT NAME="submit" TYPE="Image" src="images/XX/yy.jpg" border=0>*
>
> * *
>
> I tried using
>
> * *
>
> *clickElementByXPath("//inp...@type='Image' and @NAME='submit']");*
>
>
>
> But I am unable to click this image in JWebUnit.
>
>
>
> Please help its urgent.
>
>
>
> Regards
>
> Rajinder Singh
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> JWebUnit-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-development
>
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to