Application crashed when running huge codedUI tests on remote machine using VStest.console.exe of VS2022 version

PONNALA Divya 21 Reputation points
2022-04-05T16:33:17.53+00:00

Application crashes in the middle while running a huge number of tests in coded UI and Even log says that VsTestExecution cannot be found though Visual studio 2022 is installed on the machine.

Even Log:

The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

(testhost.net472.x86.exe, PID 9296, Thread 11) HKEY_LOCAL_MACHINE\EnterpriseTools\QualityTools\TestTypes Key cannot be found!

The system cannot find message text for message number 0x%1 in the message file for %2

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
329 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PONNALA Divya 21 Reputation points
    2022-04-21T10:45:16.427+00:00

    Hi @Tianyu Sun-MSFT ,

    We are not seeing this error when we run the same tests on vs2017 on the same remote machine. This issue only happens when we run the tests through vs2022.

    We did tried repairing the visual studio 2022 and also rebooting but nothing works.