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!
我使用这个命令使它工作。
driver.findElementByClassName("Edit").sendKeys("{ENTER}");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.