excel - Navigation between web-elements in Java Selenium Automation testing using Eclipse -
i have issue navigating between different web-element.
excel sheet has different test cases having different pages , it's methods. using these inputs, eclipse run test case. while doing when click on web-element, sub web-elements appear , disappear within 4 seconds, not able navigate 1 web-element sub web-element continue further steps (selenium java automation testing).
i have tried this
public boolean isiebrowser(){ capabilities cap = ((remotewebdriver) _seldriverlocal).getcapabilities(); if(cap.getbrowsername().equalsignorecase("internet explorer") && integer.parseint(cap.getversion())>=11) return true; else return false; } if(isiebrowser()) //not able enter if condition { actions builder = new actions(_seldriverlocal); builder.movetoelement(workspace).build().perform(); workspace.click(); } else { workspace.click(); }
i not able resolve can suggest solution this.
thanks in advance.
wiki
Comments
Post a Comment