automation - Selenium IDE: Click command with no ID -
how perform click action on button no "id".
<a class="ui-button altbuttonfix" onclick="mojarra.jsfcljs(document.getelementbyid('productionreporttoolbar-productionreporttoolbarform'),{'productionreporttoolbar-productionreporttoolbarform-j_idt43':'productionreporttoolbar-productionreporttoolbarform-j_idt43','userid':'11448','reportname':'','statementname':'productionreport.productionreport','token':'','productionreportid':'1000274'},'report');return false" style="" href="#"> view it's class type. appreciated. thank you.
why not use class value? use locator time:
webdriver driver = new firefoxdriver(); webelement e = driver.findelement(by.classname("ui-button altbuttonfix")); e.click();
Comments
Post a Comment