You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: