I'm currently trying to build testCases programmatically.
Each new resource from the input swagger has to have it's corresponding testCase.
I manage to detect which resource has no testCase, I can create the testCase, but I have a problem when it's about to create the testStep.
I'm currently doing the following process :
// create the test case
tc = current_suite.addNewTestCase(resource)
// add a restrequest step
tc.addTestStep(RestRequestStepFactory.RESTREQUEST_TYPE , "Request 1" )
This ALMOST works ! but when it reaches the testStep creation, I have a pop up "New RestRequest" opening in readyAPI asking me to 'select existing request or REST method, or create a new request'.
How can I do this step programmatically ?
Thanks for any help