History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-17
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Joe Attardi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

StringIndexOutOfBoundsException thrown by DefaultSelenium.getAttribute when attribute does not exist

Created: 06/Apr/06 03:38 PM   Updated: Tuesday 09:08 AM
Component/s: Client Driver - Java
Affects Version/s: 0.7, 0.7.1
Fix Version/s: 0.8.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When calling DefaultSelenium.getAttribute(locator), and the target element does not have the attribute specified, a StringIndexOutOfBoundsException is thrown.

Should this return null, an empty string, or at least throw a SeleniumException?

 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 06/Apr/06 06:11 PM
This was a bug in Selenium Core, fixed in SEL revision 905.