In real time we hardly have a simple setup like running on the same box which acts as a server and client :( So we might have to run the scripts remotely almost all the time...Well there might be issues while doing so...Here are some!
- Can't launch the browser at all:
- Check the host name you are using in your code first!
- There is a possibility that the DNS isn't able to map the hostname with the IP - so try running your tests specifying the IP instead of the hostname
- Check the path you provided to the executable of the browser - verify its found on the same path on your remote location
- Now the final check is to verify you can run the browser version on the RC version for ex: you can't run FF7 on RC1 :)
- Browser Opens but tests aren't running
- This happens because the RC isn't able to talk to your browser - though it initiates the browser but can't talk to it anymore
- Solution: Upgrade your RC :)
- Running on a Headless Box
- Selenium can't run upright on headless boxes - Still looking into how to make it work...
- Leave a comment if you know how to do that!
Comments