Hi

I just installed webtest with the grails plugin

I have a page with a drop down select for countries, with the ids
being strings, not ids, it looks like this:

<select name="country">
<option value="">Please choose a country</option>
<option value="AFG:Afghanistan" >Afghanistan</option>
<option value="ALA:Aland Islands" >Aland Islands</option>
<option value="JJ:Albania" >Albania</option>
<option value="DZA:Algeria" >Algeria</option>
<option value="ASM:American Samoa" >American Samoa</option>
<option value="AND:Andorra" >Andorra</option>
...

When I run a webtest with this page, the invoke fails with the following error:

JavaScript error loading page [...]: Cannot convert HTMLElement for
HtmlOption[<option value="AFG:Afghanistan">] to java.lang.Integer

Afghanistan is the first item in the list. Seems that the parser is
expecting the value for the options to be an integer value... is there
a workaround for this?

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

Reply via email to