How can I have watir recognize an input tag with a custom class? -
How can I have watir recognize an input tag with a custom class? -
in our application have input tags next attrbutes:
<input class=input-time id=projects-projects_project_0_task_0_entryhours_0> i have tried of watir input methods nil works recognize object. can shed little lite me?
my watir version 1.6.5.
summary page @ watir wiki links few pages lot of useful data. take @ how , what, html elements supported watir , ways available identify html element.
examples (tested on mac os 10.6 firewatir 1.6.6.rc1):
browser.text_field(:id => "projects-projects_project_0_task_0_entryhours_0").set "test" browser.text_field(:id => /project_0/).set "test" browser.text_field(:class => "input-time").set "test" watir
Comments
Post a Comment