Sha256: c429f2c6117eef2e1861cf676e400e13b0e6712686e212d178d9bba7b0791820
Contents?: true
Size: 646 Bytes
Versions: 23
Compression:
Stored size: 646 Bytes
Contents
require 'setup.rb' include FireWatir def login $ff.goto("#{APP}/acegilogin.jsp") form = $ff.form('loginForm') username = form.text_field(:name, 'j_username') username.value = 'test' password = form.text_field(:name, 'j_password') password.value = 'test' form.submit end def logout $ff.goto("#{APP}/index.jsp?logoff=true") end def choose_customer_application(appname="svdrammen") $ff.select_list(:name, "jumpmenu").option(:text, /#{appname}/).select sleep 2 end def choose_language(language="English") $ff.link(:text, "#{language}").click end login() choose_language() choose_customer_application("svdrammen")
Version data entries
23 entries across 23 versions & 1 rubygems