I have my login screen in app now. Each time the app is launched in screen the mobile number is pre filled with the older text.
I just want to know I have tried: >
If the text field contains any pre-specified mobile number, please do in the following way.
WebElement mob = driver.findElement(By.name("xxxxxxxxxx")); mob.clear();
xxxxxxxxxx: mobile number that is pre-specified while opening the application.
Else use some other locating techniques like By.xpath , By.id(if you are testing android and Selendroid as capability) etc.