Tag Info

Hot answers tagged

1

Don't forget Serenity aka Thycidides (http://thucydides.info/docs/serenity-staging/) It is in that sense a test management tool as it excels in creating a living test documentation for you which is also a great test report. You can use it with JBehave or Cucumber or just with plain jUnit. It depends on maven or grade to run the tests.


1

This mentions this remedy for this error : If you are using the RemoteWebDriver and you get the The path to the chromedriver executable must be set by the webdriver.chrome.driver system property error message you likely need to check that one of these conditions is met: The chromedriver binary is in the system path, or The Selenium Server was ...


1

Slightly different approach, this worked for me @AfterMethod public void writeResult(ITestResult result) { try { if(result.getStatus() == ITestResult.SUCCESS) { //Do your excel writing stuff here } else if(result.getStatus() == ITestResult.FAILURE) { ...


1

If you can alter your approach to include a configuration method using @AfterMethod, then you can pass in a paramater for ITestResult, which holds the results for the most recently completed test method. That class has a method called getStatus() that will give you the status of that test. Here's an example of how to use this: @AfterMethod public void ...



Only top voted, non community-wiki answers of a minimum length are eligible