Unable to a click button using watir -
i have started using watir
yesterday, , playing around it. can't seem access button:
<div class="formbox"> <input class="button" type="submit" value="sign in" tabindex="4"></input> <input type="hidden" value="985963" name="n"></input></div>
i'm trying line
$browser.button(:value, "sign in").click
what might causing problem? appreciated...thanks.
okay, error not due button. unchecking check box in line above using:
$browser.checkbox(:id, "remember_me").clear
if comment line, test cases passes successfully. have figure out whats wrong checkbox because clears on front end.
Comments
Post a Comment