1.

Your team needs to check if a warning message is displayed when the password entered by the user is moderately secure.

Answer»
There are different datasets, where some passwords entered by the user are secure, so the warning message does not appear on the page. This should not halt the execution of the next steps in the test script. Can we use Assert commands to test this scenario?

No, we cannot use assert commands as it halts the further steps of the execution, in case of an assertion failure. Instead, we can use the verify command in this case. Verify commands, check the conditions if they are true or false, and also all the test phases get executed.




Discussion

No Comment Found