51Testing软件测试论坛
标题:
对于wrapped element,selnium能识别到,点击无反应,请教各位大神
[打印本页]
作者:
yl6542228
时间:
2014-11-3 14:49
标题:
对于wrapped element,selnium能识别到,点击无反应,请教各位大神
如图所示element,但是点击后没有弹出upload的win窗口,我的代码如下,请教各位大神了
String xButtonShangChuan = "html/body/div[7]/div[2]/div[3]/div[1]/div[2]/a";
WebElementCustom ButtonShangChuan = new WebElementCustom("ButtonShangChuan", "XPATH", xButtonShangChuan);
if(ButtonShangChuan._Exist(driver))
{
ButtonShangChuan._MouseHover(driver);
ButtonShangChuan._Click(driver);
}
//F:\Selenium\Project\daily automation upload proof.jpg
java.lang.Runtime.getRuntime().exec("F:\\Selenium\\Project\\AutoItTools\\Upload Img Proof.exe");
作者:
Miss_love
时间:
2014-11-5 08:38
亲 ,图没有上传、?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2