title: Selecting a value from a dropdown list in coded-ui test is now "contains" instead of "exact" in vs2012
body: <p>To be more specific...</p>
  
  <p>I use this to select a value from a dropdown list during a coded ui test... this extracts value from a specific row in a csv and selects it in the DDL.</p>
  
  <pre><code>        this.UIMap.MarketCodeType2Params.UIMarketsComboBoxSelectedItem = TestContext.DataRow["IFAGeneralMarketCodeType"].ToString();
  </code></pre>
  
  <p>The value is </p>
  
  <blockquote>
    <p>ABC123</p>
  </blockquote>
  
  <p>When the test runs... the first value it finds in the Application DDL which is the default value is</p>
  
  <blockquote>
    <p>ABC123 222</p>
  </blockquote>
  
  <p>And it selects it.. in VS2010, it looked for the exact value it is being compared with. Now in 2012, it's trying to be smart and is selecting the first one that contains the value is has...</p>
  
  <p>Any help would be appreciated..
  I tried adding if's and do while's, but they all assert on the value coming from CSV and not value selected. When i managed to assert on the value selected, the test run kept looping, selecting the wrong one then opening DDL again(when it realizes its supposed not to) and selects it again..</p>
  
  <p>The selection function in VS2012 is messed...</p>