Steps
1) I have recorded a visual test for Login with Login and password hardcoded in script. The script runs fine every time.
2) Now I use driver program( visual test script) and include above script in it and using repetition logic I am able to Launch/Login/Close application 2 times or more. No issues here.
3)Now I included Variables and trying to pass new login credentials ( login name and password) to login script using driver program.
Issue:
I get below error ( failed to decrypt) and then I change my method( screenshot below ) from 'TypePasswordKeys' to 'TypeKeys'.
Now when I run Visual test the script writes both login id and password in same loginid box in place of typing password in in password box.
Because of which 'Log on' button is not enabled and my script fails.
Please suggest any options to resolve this.
Error:
Failed to decrypt
Change method
Ash