javasdktest-projecttestproject.io

Report steps using TestProject Java SDK


how can I report steps in my java code using TestProject Java SDK? Can anyone share an example?


Solution

  • You have to use the helper in order to get the reporter.

    ActionReporter reporter = helper.getReporter();
    

    Now that you have the reporter you can use it to report steps, for example:

     reporter.result("Step passed");