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

Key: SRC-353
Type: Improvement Improvement
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 verifyTrue/verifyFalse should take messages

Created: 21/Sep/07 12:26 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

verifyTrue and verifyFalse methods don't have the versions, which take the messages. Because checkForVerificationErrors throws an exception which only tells you, that some verify... method has failed, if you have more than one, you can't tell, which was it. To make the verifyTrue(String message,Boolean condition) version i've had to break in to the private field of the SeleneseTestCase class. And that is not a nice coding practice. If the StringBuffer verificationErrors field was protected field it would make verify... methods a lot more flexible.

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