Open
Description
I am not able to insert text into number text box in appium I have tried earlier by id, xpath and other locators but it is not inserting the value into the second text box in an alert dailog box.
The code I am using is:
ele.click();
ele.sendKeys(ele, input);
This clears and again inserts text into the first text box, Not performing any action on the second text box
Other solutions I have tried is:
Actions builder = new Actions(driver);
Actions seriesOfActions = builder.moveToElement(ele).click().sendKeys(ele, input);
seriesOfActions.perform();
JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("arguments[0].click();", ele);
js.executeScript("arguments[0].value='"+input+"';", ele);
What should I do in order to fix this?
Metadata
Metadata
Assignees
Labels
No labels
Activity