Using iexplorer with serenity

947 views
Skip to first unread message

nani...@gmail.com

unread,
Sep 2, 2015, 9:17:49 AM9/2/15
to Serenity BDD Users Group
Hi..I have gone through some posts for using iexplorer with serenity bdd

and I tried implementing those in my  serenity.properties file as below

serenity.driver.capabilities=INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS:true
webdriver.driver=iexplorer

but it is not working..as I am getting following errors

1)could not instantiate class org.openqa.selenium.ie.internetexplorerdriver(but this driver already exists)
2)Protected mode settings are not same for all zones(This cannot be enabled/disabled as per organization rules)

 So can any one help me out....

Thanks in advance

Dmitriy Grablyov

unread,
Sep 3, 2015, 4:00:01 AM9/3/15
to Serenity BDD Users Group
First of all check that you set up driver binary path. It is 'webdriver.ie.driver' system property, must point to some iedriver.exe on your disk.
Additionally, ie creates additional temporary binary during instantiation. Try give it an alternate path setting 'extractPath' to driver capabilities (you can choose any path you want) and check whether it is created properly when tests start.
Additionally it would be great if you provide a full stack trace for your error, usually it provides information on failure if it is on serenity side.
At the end, from my experience sometimes it is a problem in Internet Explorer itself so it does not communicate with iedriver properly. For redundancy try custom IE installation for development. This link https://www.microsoft.com/ru-ru/download/internet-explorer-11-for-windows-7-details.aspx might be useful, ensure you set 'Internet Explorer 11 for IT specialists and developewrs...' in 'Change systems' drop-down menu

Harry King

unread,
Oct 13, 2015, 8:08:41 AM10/13/15
to Serenity BDD Users Group
Reply all
Reply to author
Forward
0 new messages