I'm trying to automate the test of winform application, but i have small problem. I can't press enter button on textbox. So what i tried to do:
Actions act = new Actions(driver);
act.SendKeys(Keys.Enter).Perform();
Also i tried to insert the enter btn to my textbox,but this action simply delete my data in textbox.
I should write name and then press enter to make the textbox work, but i don't know how else i can press it because there is no tutorials about winium. Thanks in advance for any help!
Hi from Lima, Peru
RépondreSupprimerI had the same issue,
So I found that the issue can be solve with traditional Java Robot class:
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_ENTER); //holds down ENTER key
robot.keyRelease(KeyEvent.VK_ENTER); //release ENTER key
Best regards
Felipe Sebastiani Sobenes