Workaround needed: webdriver/maven tests should run on each deploy in jenkins, but -


we have webdriver/testng/maven/java tests need run automatically after each deploy, been 4 days , cant damn thing work headlessly using xvfb. , not have access server, , jenkins configuration, other bugging poor guy operates these.

so kind of workaround offer in case? can jenkins jobs on remote servers (say find server doesnt need run tests headlessly)? or there alternative xvfb?

setup selenium tests use remote webdriver

for info read here - http://code.google.com/p/selenium/wiki/remotewebdriver , http://docs.seleniumhq.org/docs/03_webdriver.jsp#selenium-webdriver-s-drivers

update

jeeny - "can jenkins jobs on remote servers (say find server doesnt need run tests headlessly)?"

amey - "yes"

but instead of running jenkins job on remote server, make selenium tests run on remote server.

i assume initialize selenium webdriver browser instance command

webdriver driver = new firefoxdriver(); 

change to

driver = webdriver.remote("http://your.remote.server:4444/wd/hub", webdriver.desiredcapabilities.firefox) 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -