Newbie here. I noticed that after record and play for my login test case (happy path), as expected, there shouldn’t be any failed in the steps. Then I tried doing negative steps by removing or changing the value of either the username text field or the password text field, I get the same result as “Passed”. Please refer to below code:
Newbie here. I noticed that after record and play for my login test case (happy path), as expected, there shouldn’t be any failed in the steps. Then I tried doing negative steps by removing or changing the value of either the username text field or the password text field, I get the same result as “Passed”. Please refer to below code:
Katalon Studio will do what you tell it to do. So, if you tell it to send some text (or empty spaces) to an input field, it will hopefully send that text to the input. But KS doesn’t know what to expect. That is up to you.
What happens when you type blank spaces to the input_username field on your page (without using Katalon)? You probably get some notification that says something like: “Wrong username or password!” in bright red letters.
So, you could create your test like this:
- enter wrong username/password
- verify error text appears
Newbie here. I noticed that after record and play for my login test case (happy path), as expected, there shouldn’t be any failed in the steps. Then I tried doing negative steps by removing or changing the value of either the username text field or the password text field, I get the same result as “Passed”. Please refer to below code:
when we enter the blank password & error message popup wrong username & password this case in result showing pass
why ks recording error message but in result showing passed