Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jeeveshk opened this issue Nov 23, 2024 · 0 comments
Open

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

Jeeveshk opened this issue Nov 23, 2024 · 0 comments

Comments

@Jeeveshk
Copy link

Jeeveshk commented Nov 23, 2024

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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant