How to get the Status of Each teststep without using Test testRunner.runTestStepByName
Hi Team
I am using ReadyApi version 7.1. I am facing a problem while using the below script GetDataSearch step is running thrice.
myTestStepResult = testRunner.runTestStepByName("GetDataSearch")
myStatus = myTestStepResult.getStatus()
Please find the attached logs and screenshots.
What I want to achieve is:
To save the status of all TestStep results in SQL table.For that I am using Datagen and have written this code to return the status of the teststep.
Secondly is there any other method to get the status of teststep easily so that I can save it in db not in file because "testRunner.runTestStepByName" is creating a problem ,whenever I use this it skip all the other teststeps and start from the Datagen where the testRunnercode is written.
It always skips all the teststep like you can see in the screenshot and Transaction logs,its starting from Getdatasearch and skipping Credential Path step and Databag..
Thanks