title: Visual Studio 2013 Coded UI failing to recognise Radio buttons
body: <p>I'm currently using Visual Studio 2013 to automate some basic tests on a webpage, such as entering and deleting text in text fields within the webpage etc.</p>
  
  <p>One of the tests I'd like to complete, is via the use of Radio buttons, to select gender (M/F/O). However, the click for this selection always fails with an exception:</p>
  
  <pre><code>Test Name:    CodedUITestMethod1
  Test Outcome: Failed
  
  Result Message: 
  
  Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException: Cannot perform 'SetProperty of Selected with value "True"' on the hidden control. Additional Details: 
  TechnologyName:  'Web'
  ControlType:  'RadioButton'
  TagName:  'INPUT'
  Id:  'ContentPlaceHolder1_customers_general1_rblGender_1'
  Name:  'ctl00$ContentPlaceHolder1$customers_general1$rblGender'
   ---&gt; System.Runtime.InteropServices.COMException: Exception from HRESULT: 0xF004F002
  </code></pre>
  
  <p>I note that there are several instances of similar failures reported on the internet, some to do with Microsoft security patch KB2870699 - which I don't see listed in my patches.</p>
  
  <p>Many of the other reported issues seem to be 'more bespoke' than 'general'.</p>
  
  <p>Is there a 'more general' issue out there that causes this issue, for which there may be a simple fix?</p>
  
  <p>Has this Microsoft security patch KB2870699 been superceeded?</p>
  
  <p>At a loss to see how these Radio buttons don't work while other aspects on the same page under test function as expected.</p>
  
  <p>These particular Radio Buttons, I have never had to function at all.</p>