Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Janson Low
RE: Exception? Failure? [ reply ]  
2009-06-26 23:28
No issue so far. Seems working. Exceptions are showing like before.

Thanks Hugh :)

By: Hugh McGowan
RE: Exception? Failure? [ reply ]  
2009-06-26 23:00
I just released rasta 0.1.10 to sync up with the latest rspec (1.2.7). Let me know if you have any issues.

Thanks!
Hugh

By: Hugh McGowan
RE: Exception? Failure? [ reply ]  
2009-06-26 17:07
What likely happened is that rspec changed the variable names again (I monkey-patch their code to get at the exception). The presence of an exception is what makes that red/yellow decision. I'll fix and post a release tonight.

By: Janson Low
Exception? Failure? [ reply ]  
2009-06-26 16:51
Hi Hugh,

I have had exceptions being reported as failure in my excel. The comment says this:

method: test_voting()
expected no Exception,
got #<Watir::Exception::UnknownObjectException: Unable to locate element,
using :text,
"Approve">

and the color of the cell is RED.

This error is caused by clicking a link on the IE that does not exist. I remember it used to be reported as a script error, with yellow cell and the full error backtrace in the comment. I don't know exactly when this has changed but I remember some times ago I updated my Rasta to 0.1.9 (I was using either 0.1.7 or 0.1.8 I am not sure, but I have these two on my machine). I have rspec (1.2.6, 1.1.11) on my machine.

I can't troubleshoot if I don't get the error backtrace in excel comment (I don't get it in the html and txt result as well). Any idea what went wrong?




Thanks much,
Janson