Hi All,
Please help me or suggest to run my test cases in team city server.
I have mapped project exe file to execute in team city server. It is failing to run the test suite.
Below is the error it is throwing when i run it from team city server.
Note: I am attaching the screen shot
[16:00:18]Collecting changes in 1 VCS root
[16:00:19]Clearing temporary directory: D:\BuildAgentSvc2\BuildAgent\temp\buildTmp
[16:00:19]Publishing internal artifacts
[16:00:19]Checkout directory: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026
[16:00:19]Updating sources: server side checkout (2s)
[16:00:22]Step 1/1: Execute MEDM (Command Line) (6s)
[16:00:22][Step 1/1] Starting: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026\SCM\RanorexUITests\MEDM\MEDM.exe
[16:00:22][Step 1/1] in directory: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026
[16:00:22][Step 1/1] Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Core, Version=6.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The system cannot find the file specified.
[16:00:22][Step 1/1] at MEDM.Program.Main(String[] args)
[16:00:29][Step 1/1] Process exited with code 255
[16:00:29][Step 1/1] Step Execute MEDM (Command Line) failed
[16:00:29]Publishing internal artifacts
[16:00:31]Build finished
Throwing exception in Team City Server for exe file
Throwing exception in Team City Server for exe file
You do not have the required permissions to view the files attached to this post.
Re: Throwing exception in Team City Server for exe file
My guess is that you didn't install Ranorex on the agent. The test requires Ranorex be installed.
Shortcuts usually aren't...