I am getting an error when running a test case built on one machine and run on another.
'Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException' occurred in Microsoft.VisualStudio.TestTools.UITesting.dll but was not handled in user code
Additional information: The playback failed to find the control with the given search properties.
The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'MSAA'
Name: 'Internet Explorer'
ControlType: 'MenuButton'
The test case is a very simple one.
It clicks on IE in task bar and opens a new tab .
This recording is working on one machine.
The code is checked in TFS.
When I tried to run the same test on another machine, it failed.
IE is pinned to task bar on that server also.