I am writing a test case for an android app where the app requires case-sensitive credentials. I writing test cases using appium and TestNG.
Steps I am following are -
- Launching app
- Entering username and password e.g. username : user_test and password : User@123
- Tapping on Login button.
- App launched successfully.
- Entered wrong credentials username: user_test and password: USer@123
The problem here is that it's entering the wrong password. Two characters of a password in upper-case: USer@123.
The function I use to enter text in the password field is -