@ravikr42 Yes, thank you very much it's ok now but i have a new problem that i couldn't find a solution yet !
Sendkeys didn't work as expected, it sends more than i give to it.
I'm using Appium to write test cases of an Android application, when i tap the following code
public void EnterQuantity() {
wd.findElement(By.xpath("//android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.widget.RelativeLayout[1]/android.widget.ScrollView[1]/android.widget.LinearLayout[1]/android.widget.LinearLayout[3]/android.widget.LinearLayout[3]/android.widget.LinearLayout[1]/android.widget.EditText[1]")).sendKeys("1");
}
I get 11 in Quantity field instead of 1. How can i reduce the speed of writing in order to be sure that only the number i gave is written not doubled.