I'm using Cucumber and Watir-Webdriver to create some automated tests. I am also using the PageObject gem. Some Example code is below
require 'page-object'
class LoginPage
include PageObject
text_field(:username, :name => 'username')
text_field(:password, :name => 'password')
link(:login, :text => 'SIGN IN')
end
browser = Watir::Browser.new
browser.goto "MyWebAppLoginScreen"
login_page = LoginPage.new(browser)
login_page.username="MyUserName"
login_page.password="MyPass"
login_page.login
The Problem that I'm seeing is that it takes a really long time to input the text into the username/password fields in IE (Version 11). I have also tested with Firefox and Chrome and the text is input immediately. In IE, however, it enters the text character by character and each character takes roughly 10 - 15 seconds to be put in. This drastically slows down the runtime of my tests in IE. Has anyone else encountered this? Any ideas on how to fix it? I tried using the browser.speed = :zippy option but this does not seem to help.