Testing "Login" with watir -


i'm starting use watir. need create test script login in application.

the code bellow script page.

i saw examples buttons , links, don't know how "submit"("onclick=submitform() type=button value="sign in") information.

if post html of form tell more.

i guess should work:

browser.button(:value => "sign in").click 

there buttons page in watir tutorial.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -