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=18.104.22.168, 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
Best practices, code snippets for common functionality, examples, and guidelines.
2 posts • Page 1 of 1
- Exception.png (34.95 KiB) Viewed 1099 times
My guess is that you didn't install Ranorex on the agent. The test requires Ranorex be installed.
Shortcuts usually aren't...