Hi,
I am trying to do the dotnet-selenium test automation. Here, i can do the build with Msbuild. but while i am trying to run the test using mono. i am getting the error. please find the pic below,
Google chrome is not finding by the Travis.
Please find the job config below,
Need to run the test cases on remote machine. Could you please help me out?
Travis.yml:
dist: xenial
sudo: required
language: csharp
solution: CCS.UITests.sln
services:
- xvfb
mono:
- latest
addons:
chrome: stable
before_script:
- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
install:
- nuget restore CCS.UITests.sln
- nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner
script:
- msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6.1 ./CCS.UITests.MainTests/CCS.UITests.MainTests.csproj
- mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./CCS.UITests.MainTests/bin/Release/CCS.UITests.MainTests.dll