Forum Discussion
chrisb
12 years agoRegular Contributor
Ok, so the username looks correct. Modify your test to it writes the password to the username field and see what it outputs. Take a look to see if it appends it with some whitespace. I've been caught out before by strings in a test that had one leading or trailing blank character.
Also try debugging your test and see what the username and password variables are actually set to during runtime. You could also try modifying the test to login to say something like an email account. Assuming that works then you can be sure the interaction between your script and that specific page is the issue.
If you are scripting what method are you using for the text entry? SetText or Keys?
Also try debugging your test and see what the username and password variables are actually set to during runtime. You could also try modifying the test to login to say something like an email account. Assuming that works then you can be sure the interaction between your script and that specific page is the issue.
If you are scripting what method are you using for the text entry? SetText or Keys?