Bugs item #2009776, was opened at 2008-07-03 10:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2009776&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Selenium plugin
Group: Release 1.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Josh (joshlane)
Assigned to: Nobody/Anonymous (nobody)
Summary: selectOption always fails, cannot find element
Initial Comment:
I am using the selectOption method and it fails because it cannot find the
option in the select list:
junit.framework.AssertionFailedError: Option [post_processor_manager] not found
in select element roles[field_0][role]
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
net.sourceforge.jwebunit.junit.WebTester.assertSelectOptionsPresent(WebTester.java:1009)
at
net.sourceforge.jwebunit.junit.WebTester.selectOptions(WebTester.java:2180)
at
net.sourceforge.jwebunit.junit.WebTester.selectOption(WebTester.java:2191)
at usecase.CAUseCase1.testUseCase1(CAUseCase1.java:54)
at
In the code, the locator string is not formed correctly, the name attribute is
not applied and the regexp fails. I will be sending a patch soon.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2009776&group_id=61302
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development