posted 12 years ago
Hello, in my program I am trying to validate if a password is correct. However I am coming up with the problem of the code saying the password is incorrect even when it is correct. it looks as it is not comparing the newly inputted password but it is using the one declared in the driver. Any ideas?
The two strings i am trying to compare are the users input password, and the saved password. The are declared in the main driver like so
The method is called in the driver
The readPassword method
and the validation method