4 messages in com.canoo.lists.webtestRe: [Webtest] Does <select/> have to ...| From | Sent On | Attachments |
|---|---|---|
| Colin O'Brien | 16 Jan 2006 11:02 | |
| Curelea, Alexandru | 16 Jan 2006 12:01 | |
| Paul King | 16 Jan 2006 12:19 | |
| Denis N. Antonioli | 16 Jan 2006 13:17 |
| Subject: | Re: [Webtest] Does <select/> have to be in a form...?![]() |
|---|---|
| From: | Paul King (pau...@asert.com.au) |
| Date: | 01/16/2006 12:19:14 PM |
| List: | com.canoo.lists.webtest |
We did look at this for *some* steps some time back and at the time had those steps look for fields outside forms if none inside forms were found - if I get a chance I'll see if I can spot what should be expected for setSelectField.
Paul.
Colin O'Brien wrote:
Hi All,
A short query about setSelectField… In order for the dropdown to be recognised does the dropdown I’m looking for have to be enclosed in <form>…</form> tags…?
The page I’m testing has a select defined at line 127 but the first <form/> starts at line 600+ so the select field doesn’t appear inside any form tags and appears to be skipped with the page is loaded with htmlunit…?
Is this the expected behaviour…?
Release 1.7_R1121
Log:
*************************************************
[testSpec] INFO 16 Jan 2006 18:49:20,234 [
main] com.canoo.webtest.steps.Step () - >>>> Start Step: setSelectField "Select the RO Users" (22/23)
[testSpec] INFO 16 Jan 2006 18:49:20,250 [
main] com.canoo.webtest.steps.Step () - Running with: Canoo Webtest: R_1121.
[testSpec] INFO 16 Jan 2006 18:49:20,250 [
main] com.canoo.webtest.steps.Step () - Exception thrown from this class: com.canoo.webtest.engine.StepFailedException
[testSpec] INFO 16 Jan 2006 18:49:20,250 [
main] com.canoo.webtest.steps.Step () - Message was:No suitable form found having field named "my_communities_sel"
[testSpec] INFO 16 Jan 2006 18:49:20,312 [
main] com.canoo.webtest.ant.WebtestTask () - Test report successfully created.
*************************************************
Regards,
Colin.




