Most possible causes are:
- malformed html code
- non yet existing field: if the select field is created after a
background ajax request, then WebTest may be too fast here

Can you check it?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com

[EMAIL PROTECTED] wrote:
> Hello Marc, 
> 
> Web Application which I am testing is mixture of JSP, AJAX, etc.  I am trying 
> to automate my application using Canoo Webtest.  But Canoo Webtest is unable 
> to access the listbox using setSelectField giving below errors: 
> 
> [setSelectField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
> setSelectField (13/13) 
> INFO (com.canoo.webtest.engine.WebClientContext) - Responses restored 
> INFO (com.canoo.webtest.ant.WebtestTask) - Finished executing webtest 
> "test1" (D:\canoo\build\test1\SimpleTest.xml:11: ) 
> INFO (com.canoo.webtest.reporting.XmlReporter) - Writing report to 
> D:\canoo\build\test1\result\046_Test1\WebTestReport.xml 
> INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully 
> created. 
> 
> BUILD FAILED 
> D:\canoo\build\test1\SimpleTest.xml:39: No suitable form found having field 
> named "report", Step: SetSelectField at 
> D:\canoo\build\test1\SimpleTest.xml:39:  with (taskName="setSelectField") 
> 
> Please let me know if there is some workaround for the same. 
> 
> Thanks & Regards, 
> Rinkesh Bansal 
> 
> 
> 
> Date: Mon, 11 Feb 2008 15:46:31 +0100 
> From: Marc Guillemot <[EMAIL PROTECTED]> 
> To: [email protected] 
> Subject: Re: [Webtest] RE:How to handling of Ajax frame work pages in canoo 
> webtest 
> Reply-To: [email protected] 
> Reply-To: Marc Guillemot <[EMAIL PROTECTED]> 
> 
> what are you looking for? Synchronization support? 
> 
> Cheers, 
> Marc. 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to