I want to know what are conditions we need to handle for a login page.
I meant to say the bot should handle the exceptions whether its successful login or entered the incorrect credentials or due to some system exceptions.
So please do needful what and all scenario as a developers needs to handle in order to make sure that login of a website is completed successfully.
After Entering the credentials and click on login, if the credentials incorrect the popup or any message will appear saying Credentials are incorrect, we have to use that specific element to handle the exception.
→ Encapsulate the whole sequence with Try catch activity, After Typeinto and click activity for login, insert Check app state activity.
→ Indicate the Message which shows Credentials are incorrect for Check app state activity, In the Target appears block insert the throw activity to throw the business exception error that Input credentials are incorrect.
→ Insert other activities in Target doesn’t appear block, if login success to do for the further process.
We have to handle the situation for login by using check app state activity.