Consolidation exercise - Attributes

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-02-22 06:28 AM
So in 'Label: Error Message element', the exercise marked 'window text' attribute as equals to a blank value,
my question is why didn't use equals to dynamic since the text will still change depending on the error??
------------------------------
Sanaa Fallah
------------------------------
my question is why didn't use equals to dynamic since the text will still change depending on the error??
------------------------------
Sanaa Fallah
------------------------------
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-02-22 06:52 AM
Hi @Sanaa Fallah
When 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
------------------------------
When 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
------------------------------
