Hi, is the input field generated dynamically? Can you dump the page to the console see the current state of the DOM:
<groovy> println step.context.currentResponse.asXml() </groovy> Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Vihang Desai wrote: > Hi Marc, > > When I try the setInputField name:"startDate", value:"01/01/2009" in > Cannoo WebTest; the field is not found. > > I am getting the error message "No suitable form found having field > named "startData". The dojo Calendar field is not recognized by > htmlUnit. In the resulting page I am not able to see the field at all. > > I am trying to find out if there is code out there for htmlUnit to > recognize the dojo Calendar filed on my website. > > Please let me know if you have any thing at all. > > All help is welcome because I really like WebTest as testing and > reporting tool. > > > Thank you, > > > Vihang Desai > > > > On Wed, Apr 29, 2009 at 3:56 AM, Marc Guillemot <[email protected] > <mailto:[email protected]>> wrote: > > Hi Vihang, > > what doesn't work exactly? > > Cheers, > Marc. > -- > Web: http://www.efficient-webtesting.com > Blog: http://mguillem.wordpress.com > > Vihang Desai wrote: > > Hi Everyone, > > > > In one of my test I am trying to change the date for a dojo calendar > > widegit. However, my setInputField function below is not working. > > > > Can anyone provide me with a example of changing a dojo Calendar text > > field in WebTest? > > > > setInputField name:"startDate", value:"01/01/2009" > > > > > > Please advise... > > > > Thank you, > > > > > > -- > > __________________________ > > Vihang Desai > > Test Engineer (U.S. Citizen) > > _______________________________________________ > WebTest mailing list > [email protected] <mailto:[email protected]> > http://lists.canoo.com/mailman/listinfo/webtest > > > > > -- > __________________________ > Vihang Desai > Test Engineer (U.S. Citizen) _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

