How to mark test passed/failed in Appium using Ruby Cucumber?

How to mark test passed/failed in Appium using Ruby Cucumber?

Hi Dipen,

You can use lambda-status Hook to mark the test as passed or failed.

Syntax:

For Passed Test:

browser.executeScript("lambda-status=passed");

For Failed Test:

driver.executeScript('lambda-status=failed');