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

Key: SRC-352
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 2
Watchers: 0
Operations

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

SeleneseTestCase verification errors never get cleared if there are any errors

Created: 21/Sep/07 12:25 PM   Updated: 12/Aug/08 05:37 PM
Component/s: Client Driver - Java
Affects Version/s: 0.9.2
Fix Version/s: None

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


 Description  « Hide
http://forums.openqa.org/thread.jspa?threadID=10173

SeleneseTestCase.checkForVerificationErrors has a bug. It's code is:
public void checkForVerificationErrors() {
assertEquals("", verificationErrors.toString());
clearVerificationErrors();
}

So, if you look closely, if verificationErrors isn't empty, it will never be cleared, because assertEquals will throw an exception. You should put assertEquals in try block and clearVerificationErrors() in finally block.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.