Skip to content

Feedback for “Zerocode Retry Step during API Test Automation” #27

Description

@Jeeveshk

Hi @authorjapps,
I have a use case to enable and disable a functionality, like if its found to be in enable state you will get status 400 and test fails, if not then it will enable it and give status 200 and test passes.
So now, in order to ensure that the tests doesn't fail even if its 400 and also run a disabling function so that when enable is executed again then you get a status code 200 and it passes.
Since there is no if conditioning in this who do think we will be able to achieve this use case.

If (Enabled=true)
{
   Status =400;
   Disable==true;
}
else
{
   Status=200;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions