c# – Is there a way to mark tests as failed for Browserstack app automate during runtime?

0
19

I currently have app tests set up to use Browserstack.

I have written the tests using the NUnit Framework in Visual Studio 2017. These tests run successfully and Pass or Fail as they should and these are marked as such in the Test Runner in Visual Studio.

The only issue I have is that regardless of whether these tests pass or fail, Browserstack simply lists them down as completed when looking at the Browserstack App Automate Dashboard.

Is there a way to mark these tests as Passed or Failed as soon as the tests have completed in Visual Studio as the only other way to mark these tests Passed Or Failed is to use Browserstacks Rest API after the test has already finished running

LEAVE A REPLY

Please enter your comment!
Please enter your name here