4 messages in com.canoo.lists.webtest[Webtest] Does <select/> have to be i...| 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: | [Webtest] Does <select/> have to be in a form...?![]() |
|---|---|
| From: | Colin O'Brien (coli...@capetechnologies.com) |
| Date: | 01/16/2006 11:02:42 AM |
| List: | com.canoo.lists.webtest |
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.




