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.
Yeah it is the 64 bit IEDriverServer. Something about IE's content handling and other technical jargon. But I deleted the 64 bit driver and downloaded the 32 bit one and now it is working just as well as chrome and firefox. Here is a link to all the files.
http://selenium-release.storage.googleapis.com/index.html
Also note for work reasons I am using IE10 but its something to try if your on IE11
Thanks @TooSuspiciousToSignUpD your given solution work like a charm with IE 11 as well.
Steps to follow:
Install IE 11 (Windows 7 64 bit version, don't download Developer / windows server 2008 version, you can find offline download of Windows 7 64 bit version from Microsoft site through google)
go to link as given by @TooSuspiciousToSignUpD (http://selenium-release.storage.googleapis.com/index.html)
Click on "2.45" folder
Download IEDriverServer Win32 2.45.0.zip
unzip and put into your PATH (where original IEDriver is located, replace it with above)
run your script, it will work fast with Input text
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With