Forum Discussion

thiyagu's avatar
thiyagu
Occasional Contributor
6 months ago

I have integrated TestComplete with Azure devops and while running pipeline job getting below error

##[error]Failed to get a list of tests from the "C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs" file due to the following error: Unable to open the project "C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs": Cannot load data for Web Testing.  Make sure the 'Web Checkpoints' plug-in is installed.
[command]C:\PCM_Agent\_work\_tool\VsTest\17.8.0\x64\tools\net462\Common7\IDE\Extensions\TestPlatform\vstest.console.exe "@C:\PCM_Agent\_work\_temp\5d1c3wurgag.tmp"
2023-11-23T13:15:50.1881612Z Microsoft (R) Test Execution Command Line Tool Version 17.8.0 (x64)
2023-11-23T13:15:50.1886632Z Copyright (c) Microsoft Corporation.  All rights reserved.
2023-11-23T13:15:50.1953102Z vstest.console.exe "C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs"
2023-11-23T13:15:50.1953507Z /Settings:"C:\PCM_Agent\_work\_temp\n2zdnytdobc.tmp.runsettings"
2023-11-23T13:15:50.1953838Z /Logger:"trx"
2023-11-23T13:15:50.1954299Z /TestAdapterPath:"C:\PCM_Agent\_work\2\s"
2023-11-23T13:15:51.1027267Z Starting test execution, please wait...
2023-11-23T13:15:51.4336558Z A total of 1 test files matched the specified pattern.
2023-11-23T13:16:07.4301515Z ##[error]Failed to get a list of tests from the "C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs" file due to the following error: Unable to open the project "C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs": Cannot load data for Web Testing.  Make sure the 'Web Checkpoints' plug-in is installed.
2023-11-23T13:16:07.4304106Z ##[error]You can also see the silent mode log at "C:\Users\Administrator\AppData\Roaming\SmartBear\TestComplete\15.0\Silent.log" which may contain more details.
2023-11-23T13:16:11.2359039Z No test is available in C:\PCM_Agent\_work\2\s\TAPCM600Automation\TAPCM600Automation.pjs. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
2023-11-23T13:16:11.2798456Z Results File: C:\PCM_Agent\_work\_temp\TestResults\Administrator_DESKTOP-T29C2C4_2023-11-23_18_46_11.trx
2023-11-23T13:16:11.2918345Z ##[error]Test Run Failed.
2023-11-23T13:16:11.3151690Z Vstest.console.exe exited with code 1.
2023-11-23T13:16:11.3152107Z **************** Completed test execution *********************
2023-11-23T13:16:11.3223861Z Test results files: C:\PCM_Agent\_work\_temp\TestResults\Administrator_DESKTOP-T29C2C4_2023-11-23_18_46_11.trx
2023-11-23T13:16:11.3489850Z No Result Found to Publish 'C:\PCM_Agent\_work\_temp\TestResults\Administrator_DESKTOP-T29C2C4_2023-11-23_18_46_11.trx'.
2023-11-23T13:16:13.6726032Z Created test run: 97601
2023-11-23T13:16:13.6726909Z Publishing test results: 0
2023-11-23T13:16:14.2158768Z Publishing test results to test run '97601'.
2023-11-23T13:16:14.2184405Z TestResults To Publish 0, Test run id:97601
2023-11-23T13:16:14.2185479Z Published test results: 0
2023-11-23T13:16:14.2191866Z Publishing Attachments: 1
2023-11-23T13:16:20.2823713Z Execution Result Code 1 is non zero, checking for failed results
2023-11-23T13:16:21.6131167Z Completed TestExecution Model...
2023-11-23T13:16:21.6520242Z ##[warning]Vstest failed with error. Check logs for failures. There might be failed tests.
2023-11-23T13:16:21.6521486Z ##[error]Error: The process 'C:\PCM_Agent\_work\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.229.0\Modules\DTAExecutionHost.exe' failed with exit code 1
2023-11-23T13:16:21.6524585Z ##[error]Vstest failed with error. Check logs for failures. There might be failed tests.
2023-11-23T13:16:21.6638735Z ##[section]Finishing: Testcomplete Execution

 

1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Have you checked that all the files exists in C:\PCM_Agent\_work\2\s\TAPCM600Automation?

     

    "Make sure the 'Web Checkpoints' plug-in is installed." - Do you have the appropriate licence?

     

    Does "Silent.log" show any useful information?