I can run my selenium tests
from within Eclipse with no issues by right clicking .java
file within Eclipse, and selecting Run as TestNG Test
. Firefox driver is started up, tests run as expected.
Environment: Windows 8.1 64 bit selenium 2.50.0 Firefox 36 (auto update turned off - a bit behind).
However, when the same test is run using ant - build.xml
file, this results in completely different behavior:
Firefox browser starts, but I always get the Unable to connect to host on port 127.0.0.1 on port 7055
error.
My best guess is this has something to do with the 64 bit OS and the fact that Firefox doesn't seem to support 64 bit, but I don't know why it is working via Eclipse? I feel like I have tried just about everything, shy of starting over from scratch with a new 32 bit machine. Any help would be greatly appreciated. I've been spinning on this way too long.