java SendKeys to dialogbox不适用于Siebel
嗨,我正在使用下面的代码在Siebel的windows对话框中插入数据。它没有进入。请帮帮我。 谢谢
String text="abc";
Alert alert = driver.switchTo().alert();
alertText = alert.getText();
alertText=driver.switchTo().alert().getText();
alert.sendKeys(text);
你可以在下面搜索框中键入要查询的问题!
嗨,我正在使用下面的代码在Siebel的windows对话框中插入数据。它没有进入。请帮帮我。 谢谢
String text="abc";
Alert alert = driver.switchTo().alert();
alertText = alert.getText();
alertText=driver.switchTo().alert().getText();
alert.sendKeys(text);
# 1 楼答案
试试这个: