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