When selenium test runs by Jenkins and nUnit, the browser doesn't come up however there are valid results -
i problem rather lack of information , need confirmation real problem. seems else had similar question question.
i put machine (windows server 2012r2) poc reasons jenkins installed , executes selenium ui tests using nunit. nunit tests generated specflow.
i do:
- install jenkins
- jenkins run valid user not service account
- set jenkins properly
- it can pull source code tfs-git
- it can compile c# solution
- it can execute test project
- the test results correct
selenium plugin installed on jenkins don't think used in case because text execution executing nunit , deals else.
at moment don't need capability delegate test execution other jenkins slaves or machines because jenkins have 1 compile task. compiling, executing , test running can go parallel, machine able deal it.
but, when log in server jenkins runs , watch happens during ci build (compile , test execution) can't see browser (firefox) starts, however, test results , logs show browser executed.
what did far:
- jenkins runs service, account existing account
if remote machine account set service, can't see browser executed, however, log shows had happened.
my question that, hack happening when tests executed jenkins? if execute command used jenkins console on same machine can see firefox starts, programmed in tests , results in result.xml. can accept result valid result? can somehow set jenkins way browser executed (i can believe when see :) )?
i think because run jenkins service. services not show in desktop. workaround run jenkins or slave cmd.
Comments
Post a Comment