Hi
@Sanaa FallahWhen I made this exercise I create two elements for the two errors that you can get in this application.
- Invalid login
- No username or password set
If you spy the entry Window, you can get the window no matter what mistake you made.
But, for this exercise, I think is better to spy the complete label and have diferent ways in your code to catch correctly the error. In my case:
(as you can read, in the Wait Stage i control every possible path that I received when I press the login button
Hope this helps you.
See you in the community, bye
🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------