title: Selenium WebDriver C#, Unable to Enter value in a textbox
body: <p>How do i identify the text box and place a value in the text box ?</p>
  
  <p><strong>Code Snippet</strong></p>
  
  <pre><code>&lt;div id="CTR_StartDate" class=" datePickerXtreme datePickerContainer datePickerXtreme datePickerContainer datePickerXtreme datePickerContainer"&gt;
      &lt;input tabindex="0" name="ct100$CTR_StartDatectl00" value="Date" id="CTR_StartDate_ctl00" class="datePickerXtremeDateOnly   validField" type="text"&gt;
      &lt;a tabindex="0" href="#" class="ui-datepicker-icon"&gt;&amp;nbsp;&lt;/a&gt;
      &lt;input tabindex="0" value="Tuesday, 10 January 2017 00:00:00" name="ct100$CTR_StartDatectl01" id="CTR_StartDate_ctl01" type="hidden"&gt;
      &lt;input tabindex="0" value="Tuesday, 10 January 2017 00:00:00" name="ct100$CTR_StartDatectl02" id="CTR_StartDate_ctl02" type="hidden"&gt;
      &lt;span id="CTR_StartDate_ctl04" category="Common" style="color:Red;visibility:hidden;"&gt;&lt;/span&gt;
      &lt;input tabindex="0" name="ct100$CTR_StartDatectl03" id="CTR_StartDate_ctl03" value="GMT Standard Time" type="hidden"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Below is the code that i am using to place the text:</p>
  
  <pre><code>IWebElement ContractStartDate = driver.FindElement(By.Id("CTR_StartDate_ctl00"));
  wait.Until(ExpectedConditions.ElementIsVisible(By.Id("CTR_StartDate_ctl00")));
  ContractStartDate.SendKeys("14/07/2016");        
  </code></pre>
  
  <p>I have tried it with Name, it still doesn't work. Few times it does work. Thats very rare though. I have tried clicking on the text box and placing the value using send keys, still doesn't work. Sometimes strange exceptions occur. </p>
  
  <p>Can someone help me with this please ?</p>