I am testing web based application and want to select radio button, but am unable to select it using coded UI automation. I have tried to find it using ID, Name, Value but all throwing the same error. What could be the reason?
Result Message:
Test method SampleTest.LoginPage.LoginTest.Login_Sample threw
exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException :
The playback failed to find the control with the given search
properties. Additional Details: TechnologyName: 'Web' ControlType:
'CheckBox' TagName: 'INPUT' Value: '104677' Failed to find any
control that matched the search condition Value='104677' &&
ControlType='CheckBox' --->
System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has
been returned from a call to a COM component.