Open er2es opened 12 years ago
This is a recurring problem with screenshots: to include the screenshot path in the exception, we have to throw a new one, which is generically chosen as an error. If you want to propose a fix, the problem is in SeleniumTestCase::onNotSuccessfulTest().
This functions not working properly......in some cases the return values are incorrect.
if i use the capture screenshot function, then come this error
PHPUnit returns an Error (E), instead of being skipped (S) or Incomplemented (I) test marking, but if i give any error messages, eg.: markTestIncomplete ("Incomplete message"), it appears when returns E
_(PHPUnit 3.6.10 & PHPUnitSelenium 1.2.6 & PHP 5.4.1)
#Incomplete test case message# printed with $this->markTestIncomplete("#Incomplete test case message#");