running selenium tests from linux on windows is a little difficult. first, the easy step: open port 4444 through your windows firewall. second step, download the slenenium jar to your windows machine, and run it with -trustAllSSLCertificates. next step, download all your browsers. safari, chrome, you'll have ie... then you go over to your linux box, go to eclipse, do run as > testng test.... and watch everything fail! using ie (either *iexplore or *iexploreproxy or using *custom) you'll get an "access is denied" javascript error for each selenium call. not very useful. *firefox will work just fine out of the box. *safari won't work, but using *custom to safari will work great on non-https. same for *googlechrome or *custom for google chrome. you have to remember to always set your proxies for the browsers to be 127.0.0.1:4444 before you run your tests.
more as i figure stuff out.
---
so if you run selenium server as administrator, you can get further with ie. firefox will continue to work, chrome and safari will continue to fail, but *iehta works if you run selenium server as administrator.
No comments:
Post a Comment