While running webdriver script to login to webpage by provide the username and password credentials, you may notice that the password field is actually entered twice once you enter the username and then entering the password.
The reason is when you have logged in before via manually/script and if the auto save feature of user name and passwords are enabled and saved this may occur.
If Auto save feature is enabled for username and password, after entering the username via script and tabbing out to enter the password itself put the saved password.
Here the password is 7 characters, but 14 characters has been updated.
Solution:
1. Remove the auto save of user name and password feature at browser level
2. Or do a clear on the fields before entering the values.
The reason is when you have logged in before via manually/script and if the auto save feature of user name and passwords are enabled and saved this may occur.
If Auto save feature is enabled for username and password, after entering the username via script and tabbing out to enter the password itself put the saved password.
Here the password is 7 characters, but 14 characters has been updated.
Password typed twice |
Solution:
1. Remove the auto save of user name and password feature at browser level
2. Or do a clear on the fields before entering the values.
No comments:
Post a Comment