Class: VisualGridRunnerPlatform: Selenium 3Language: C# SDK:
Call this method to get the test results for all the tests that were run using an instance of the VisualGridRunner.
TestResultsSummary runner = runner.GetAllTestResults(); TestResultsSummary runner = runner.GetAllTestResults(shouldThrowException);
- If a value of true is passed and any test did not pass, or there was a failure, then an exception is thrown. If a value of false is passed, then the object returned contains the test results and status of all the tests. The calling program should use the method Exception to examine the exception status and, if it is null, check the various methods in the TestResults returned by the method TestResults to see if the tests passed or mismatched where found. If no parameter is passed, then the default value is true.
- Type: TestResultsSummary