How can you check if the login succeeded or not?


One of the steps in your process is to authenticate on a web application.

How can you check if the login succeeded or not?
A . Place the login activities inside a Try-Catch block. An exception is thrown in case a login problem occurs.
B . Use an Element Exist activity to check whether the login succeeded by searching for an element that is only displayed in that case.
C . Check the return value of the Login activity.

Answer: B

Leave a Reply

Your email address will not be published.