Exception in thread : UnexpectedTagNameException
<p>I am Trying to Locate Dropdown using Select but its giving me error :</p>

<blockquote>
  <p>Exception in thread "main" org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "input"</p>
</blockquote>

<p>Tried with ByIndex,ByValue but its not working </p>

<p><strong>Code</strong></p>

<pre><code>Select dropdown = new 
Select(driver.findElement(By.id("ctl00_MainContent_ddlLocale_Input")));
    //dropdown.selectByIndex(2);
     dropdown.selectByValue("Austria: Vienna");
</code></pre>

<p><strong>HTML</strong></p>

<pre><code>td class="rcbInputCell rcbInputCellLeft" style="width:100%;"&gt;
&lt;input id="ctl00_MainContent_ddlLocale_Input" class="rcbInput ui-widget-    content" type="text" value="Austria: Vienna"     name="ctl00$MainContent$ddlLocale" autocomplete="off"/&gt;
</code></pre>