Closed bitwiseman closed 10 years ago
Workaround/Fix:
Explanation:
I'm having the same problem with IE 8 on XP.
Latest stable release of Karma and Node.js. I also couldn't get the workaround to resolve the issue.
Since IE was in a VM, I could do some basic testing by running Karma on my Mac and pointing IE 8 to the server on my host machine.
You're running windows XP 64-bit?
You're running windows XP 64-bit?
It's 32-bit.
It's also a VM. But installing everything in the VM and trying to get Karma to run the tests didn't work.
Thanks
@necolas - this issue and the workaround apply only to 64-bit windows 8. Please open a new issue and fully describe your environment, setup, and configuration and delete your comments from this issue.
Only setting the IE_BIN
worked for me (Windows 7 from Mac using Parallels using IE 10). I am running as Administrator on the machine which is why I might not have needed the second step.
and just after posting that I ran into an issue with IE trying to stop accessing the url saying it detected an issue. Adding http://localhost
to the Intranet sites list does not appear to fix the issue.
The actual error page said:
We were unable to return you to the page you were viewing.
Internet Explorer has stopped trying to restore this website. It appears that the website continues to have a problem.
What you can do:
Go to your home page
Try to return to the page you were viewing
More information
When a website causes a failure or crash, Internet Explorer attempts to restore the site. It stops after two tries to avoid an endless loop.
Choosing to return to the page I was viewing works properly. It might be that IE is trying to access the page too early and is failing because the web server is not up yet. Other browsers appear unaffected.
Co-workers suggestion at disabling Automatic Crash Recovery seems to have helped. It will now restart IE when it encounters an issue and the subsequent launch will attach to the test runner correctly.
http://windows.microsoft.com/en-us/internet-explorer/reopen-previous-session#ie=ie-10
Can anybody double-check whether this issue is fixed in 0.1.2 please?
It seems ok with 0.1.2 and windows 8 - 64bit without IE_BIN workaround.
Update: anyway it seems IE 10 starts in compatibility mode (IE7). RESOLVED: removed localhost from Tools menu / view compatibility settings.
I had the same problem and Its works for me: http://stackoverflow.com/questions/9618774/jenkins-selenium-gui-tests-are-not-visible-on-windows
(Copied from https://github.com/karma-runner/karma/issues/429)
Tested using Internet Explorer 10 on Windows 8 64-bit.
This is not a bug in Karma but a limitation of IE and node.js that we need to document.
Repro:
Expected: karma to launch and capture IE, run tests, exit and close IE
Actual: karma launches IE three times and believes IE has exited each time.
Notes: I believe this is specific to IE 10 64-bit Windows (7 or 8). If anyone else can repro, that would be great.