Coded UI Test Method failed inconsistently
- by Sunitha M
The following exception failing my UI automation test.
Message: Test method
CodedUITestMethod1 throw exception:
The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'UIA'
ControlType: 'MenuItem'
Name: 'MyViewModel' ---> system.runtime.interopservices.comexception error hresult e_fail has been returned from a call to a COM component
please any one give me a solution for these type of exceptions.