On Monday 31 October 2005 5:59 pm, Nima Mallur wrote:
> I am trying to get a value from a read only object on the form.This object
> is surrounded by a span tag element with an id= "question"
> Can some tell me
>  thanks
>  poornima

It depends on what object type it is but I think you should just be able to 
call: webtester.getDialog().getFormParameterValue("")

Also, try and get familair with the following javadocs from the site: 
webtester, webtestcase, httpunitdialog.   Most of the main methods in 
webtester are designed for "assertions" for testing your application.  such 
as: assertFormElementEquals(String, String)

Hope it Helps....

Nick Neuberger




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to