Contributions
TestComplete Jenkins path problem
TestComplete 14 Jenkins TC plugin 2.8.1 (latest) I have a Linux Jenkins host connecting to a TC node on Windows Server 2019. When I run my TC job, the following log is generated: [TestComplete] The test execution started ('Regression Test Suite'/Create Patients/KeyWordTests|Login_As_Admin). [TestComplete] Found TestComplete/TestExecute installations: Type: TC, Version: 14.80.627.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" Type: TELite, Version: 14.80.627.50, Path: "C:\Program Files (x86)\SmartBear\TestExecuteLite 14\x64\bin\TestExecuteLite.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TC, Version: 14.80.627.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" [TestComplete] Launching the test runner. $ '"C:\Program Files (x86)\SmartBear\TestComplete 14\bin\TestCompleteService14.exe"' //LogonAndExecute //lDomain: "" //lName: "Administrator" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" "C:\c\Users\Administrator\Desktop\pilot_qatest\'Regression Test Suite'.pjs" /run /SilentMode /ForceConversion /ns /exit "/ExportLog:C:\c\Users\Administrator\Desktop\jenkins\workspace\TestComplete Test Run\1642743106415.tclogx" "/ExportLog:C:\c\Users\Administrator\Desktop\jenkins\workspace\TestComplete Test Run\1642743106415.htmlx" "/ErrorLog:C:\c\Users\Administrator\Desktop\jenkins\workspace\TestComplete Test Run\1642743106415.txt" "/project:Create Patients" /test:KeyWordTests|Login_As_Admin /JenkinsTCPluginVersion:2.8.1"' [TestComplete] Test runner exit code: 3. [TestComplete] [WARNING] Error: Invalid command line. The project suite 'C:\c\Users\Administrator\Desktop\pilot_qatest\'Regression Test Suite'.pjs' was not found.. [TestComplete] [WARNING] Unable to find the log file "1642743106415.tclogx". [TestComplete] [WARNING] Unable to find the log file "1642743106415.htmlx". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as FAILED. [TestComplete] The test execution finished ('Regression Test Suite'/Create Patients/KeyWordTests|Login_As_Admin). Build step 'TestComplete Test' changed build result to FAILURE Finished: FAILURE This obviously failing because of the bad pathname, but I can't figure out where the plugin is picking up the extra '\c\' element and inserting it for some of the arguments. Any hints on where to find and remove this? Thanks.605Views0likes1CommentShared Name Mapping file uses absolute path?
I have a project which shares a Name Mapping file with another project; this is apparently done as a link to the original Name Mapping in the first project. When I check this into Source Control and then checkout the project on a different machine, it cannot find the Name Mapping because the link is an absolute path on the computer the link was created on. How do I do this so that it uses a project suite-relative path that will work no matter where the project is checked out?Solved472Views0likes1Comment