title: Unable to identify extjs date field with partial ID
body: <p>I’m working on an application in <code>ExtJS</code>, which is very dynamic in nature. I’m using selenium Webdriver, I could able to locate text fields, combo boxes in the page using the Partial ID (Contains, Startwith etc…), but unable to locate the Date field in the same page (Note: Only one date field exist in the page.). Please  help me to identify this date field object. </p>
  
  <p>I could able to access the combo box using the below code:</p>
  
  <p><strong><code>WebElement comb = driver.findElement(By.xpath(“//input[contains(@id, ‘combo’)]”));</code></strong></p>
  
  <p>Tried with the below and unable to locate the datefield:</p>
  
  <p><strong><code>WebElement dateBox = driver.findElement(By.xpath(“//input[contains(@id, ‘datefield’)]”));</code></strong></p>
  
  <p><strong>HTML Details:</strong></p>
  
  <p><code>&lt;input id=”datefield-1217-inputEl” data-ref=”inputEl” type=”text” role=”textbox” size=”1″ name=”dateOfBirth” maxlength=”10″ class=”x-form-field x-form-required-field x-form-text x-form-text-default x-form-invalid-field x-form-invalid-field-default” autocomplete=”off” componentid=”datefield-1217″&gt;</code></p>