Data source error in Team City while Running Ranorex Script
Posted: Wed Oct 05, 2016 10:31 pm
Hi team,
I am facing the below error when I try to run the sanity test script in team city.
Step 2/2: Execute MEDM Testcases (Command Line) (1s)
[16:19:59][Step 2/2] Starting: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026\SCM\RanorexUITests\MEDM\bin\Debug\MEDM.exe /tc:TC_01_VerifyLogin
[16:19:59][Step 2/2] in directory: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026
[16:19:59][Step 2/2] [2016/10/05 16:19:59.280][Debug ][Logger]: Console logger starting.
[16:19:59][Step 2/2] [2016/10/05 16:19:59.370][Failure][TestSuite]: The Excel file with name 'TestData.xlsx' could not be found.
[16:19:59][Step 2/2] [2016/10/05 16:19:59.399][Debug ][Logger]: Console logger stopping.
[16:19:59][Step 2/2] Process exited with code -1
[16:19:59][Step 2/2] Step Execute MEDM Testcases (Command Line) failed
In my local server, I have create test case for that data source I have configured through excel sheet. ( Excel sheet is with in project folder and it is mapped for the test case)
I am facing the below error when I try to run the sanity test script in team city.
Step 2/2: Execute MEDM Testcases (Command Line) (1s)
[16:19:59][Step 2/2] Starting: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026\SCM\RanorexUITests\MEDM\bin\Debug\MEDM.exe /tc:TC_01_VerifyLogin
[16:19:59][Step 2/2] in directory: D:\BuildAgentSvc2\BuildAgent\work\69e2327a3d6db026
[16:19:59][Step 2/2] [2016/10/05 16:19:59.280][Debug ][Logger]: Console logger starting.
[16:19:59][Step 2/2] [2016/10/05 16:19:59.370][Failure][TestSuite]: The Excel file with name 'TestData.xlsx' could not be found.
[16:19:59][Step 2/2] [2016/10/05 16:19:59.399][Debug ][Logger]: Console logger stopping.
[16:19:59][Step 2/2] Process exited with code -1
[16:19:59][Step 2/2] Step Execute MEDM Testcases (Command Line) failed
In my local server, I have create test case for that data source I have configured through excel sheet. ( Excel sheet is with in project folder and it is mapped for the test case)