4 Answers, 1 is accepted
As I want to understand more about the exact scenario, can you go into details on the following topics?
- Do you have, for example, 10 times the same step in one project, or you want to run the project 10 times?
- Please share more details about the test scenario, which leads to this feature request. Can you provide a sample project to illustrate it? This will be really helpful in our further discussions.
Thank you for sharing this feedback with us.
Regards, Plamen Mitrev
A simple example would be, User 1 submits 10 API requests to create 10 records. I'd need to create variables rec1, rec2, rec3 … to store the results (doc ID) for example.
Later in the test, I call an API to remove duplicate records. I now need to create 10 steps using the 10 variables to check each one if it was removed.
Yes, this could be done with a coded step, but I don't want to have to. I would want to be able to create a loop and just look at var[I] in the steps.
Our engineering team started to investigate the possibilities and required effort for your request. Please allow us one more day to discuss this internally and share our finding and future plans with you tomorrow.
Thank you for understanding.
We think that it will be better to divide this feature request into 2 separate ones. The reason for this is that, each of the request listed below provides unique benefit on its own and at the same time should improve the scenario, that you are trying to achieve.
The first feature is to be able to create a loop from the UI for one or more test steps with specific conditions. At this point this can be achieved with a GoTo step with specific condition and a coded step.
The second feature will allow you to fill JSON collection directly from the UI and thus elimination the need for a coded step for this action. This should help you access an given records (for example var[i]). Although, you can currently use JsonPath expressions to extract those records from previously created JSON collection, the problem is that you need a coded step to create that JSON value and populate the records.
Please check my suggestions and if you agree with them, let me know and I will create 2 separate feature request on our public portal on your behalf.
Thank you once again.