Handling login authentication failure issues during execution

Issue : 

Error in test execution due to an issue in logging into the test environment.


Issue Description:


When executing automated tests, an authentication failure can occur if the credentials provided for logging into the test environment or application are incorrect. The failure may also occur, if there are issues with the authentication system. This results in the test being unable to proceed past the login stage. 

Common reasons for authentication failures include incorrect usernames or passwords, expired credentials, network issues, session expiry, or changes in the authentication process (such as the addition of multi-factor authentication or captcha). 


Solution:

Handling this error involves verifying the credentials, checking for any recent changes in the authentication system, adding longer step timeout to handle session expiry, ensuring the network connection is stable, and removing any network restrictions (such as VPN or location restriction) blocking authentication. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article