Running Test NG Selenium Tests Through SSH

后端 未结 3 775
萌比男神i
萌比男神i 2021-01-27 00:43

I have a server, A, that has eclipse, testNG, selenium, and stuff set up on it. I have another server, B, with Bamboo setup on it.

I am able to, on server A, run a test

3条回答
  •  Happy的楠姐
    2021-01-27 01:14

    Is the below an option for you?

    Host A: have browsers and a selenium-rc always running and listening to whatever (4444) port; Host B: have TestNG + build job and have tests pointing to the selenium-rc of host A.

    That is a regular setup for selenium and ci running on different hosts.

    If server A runs a linux/unix, then just ssh-ing and launching browser (with selenium you'll end up with it trying to launch a browser) will not succeed.

提交回复
热议问题