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

Version Path
backlog-0.36.2 test/client/login.rb~
backlog-0.23.0 test/client/login.rb~
backlog-0.23.1 test/client/login.rb~
backlog-0.24.0 test/client/login.rb~
backlog-0.25.0 test/client/login.rb~
backlog-0.26.0 test/client/login.rb~
backlog-0.28.0 test/client/login.rb~
backlog-0.29.0 test/client/login.rb~
backlog-0.30.0 test/client/login.rb~
backlog-0.31.0 test/client/login.rb~
backlog-0.31.1 test/client/login.rb~
backlog-0.32.0 test/client/login.rb~
backlog-0.33.0 test/client/login.rb~
backlog-0.33.1 test/client/login.rb~
backlog-0.34.1 test/client/login.rb~
backlog-0.34.2 test/client/login.rb~
backlog-0.34 test/client/login.rb~
backlog-0.35.0 test/client/login.rb~
backlog-0.35.2 test/client/login.rb~
backlog-0.35.1 test/client/login.rb~