ele = ConfigPage_POF.IVP3_Protocol_drpdwnbtn;
act.moveToElement(ele);
Thread.sleep(1000);
act.build().perform();
Thread.sleep(1000);
ele.click();
Thread.sleep(500);[enter image description here][1]
我是新的自动化testing.i使用硒工具..我有一个问题,从下拉按钮选择信息。我使用此代码,但在一些下拉时,它失败了点击。 。有没有其他的方式来选择我的下拉成功。我保存ID在ele = config_Protocol this is my source code _drpdwnbtn; 请帮助我。 谢谢从给定的代码中选择下拉列表
你能分享你的html代码吗? – Murthi
是请点击最后一行 – imran
ConfigPage_POF.IVP3_Protocol_drpdwnbtn中有什么值? – Murthi