Unable to Run Automated Test from Test Plan

Vinayak Deva 1 Reputation point
2022-06-16T20:04:16.943+00:00

I was successfully running our selenium tests (Java, Selenium, Maven,..etc) from the ADO test plan and was able to report test results back to the test Plan in ADO. Off late when were kicking of the test from the test plan after the test run was complete. The "Publish Test Results" task is capturing the results accurately but the "Visual Studio Test" task is failing with the following error..

"The slice of type 'Execution' is 'Aborted' because of the error : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct."

Not sure what changed with VS in the last couple of months but we were able to run our tests from the Test Plan with the same Tasks and Settings mentioned in the attached screen shot.

212243-capture1.png212148-capture.png

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
291 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,772 Reputation points Microsoft Employee Moderator
    2022-06-16T22:59:08.583+00:00

    Currently, Azure DevOps is not supported on Microsoft Q&A.

    The Azure DevOps team and community are active and answering questions on https://developercommunity.visualstudio.com/spaces/21/index.html Please post your question there and experts will guide you.

    You can also ask for help on Stack overflow: https://stackoverflow.com/questions/tagged/azure-devops
    or request for support here : https://azure.microsoft.com/en-us/support/devops/

    201829-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.