title: Selenium- WebDriver identifying Td value element which is inside the input tag
body: <p>I am trying to identify the td value, the thing is inside TD i have input tag and i need to identify the value. My Td tag looks like below. I need to identify and get the value 4/11/2016. Trying to add the full source code</p>
  
  <pre><code>    &lt;div id="accountsSectionBottomContainer" class="acctBottom" default-path="/ui/app.php/AccountsBottomPane/21/acct_glance"&gt;
  &lt;div&gt;
  &lt;div class="accountsModPLSQLReturn" data-aria-plsql-root="/ui/mod_plsql.php/aria/csrtools/" data-aria-plsql-url="dashboard_plan.plan_inst_unit_inst_dtls"&gt;
  &lt;div class="workbook_tabname"&gt;Accounts&lt;/div&gt;
  &lt;script language="JavaScript" type="text/javascript"&gt;         self.focus();      &lt;/script&gt;
  &lt;div id="account-name"&gt;
  &lt;style type="text/css"&gt; .color-block dl {     background-color: #F8F8FF;     margin: 0;     padding: 1em; } .white-block dl {     font-size: 1.1em;     margin: 0;     padding: 1em; } .static-block dt {     float: left;     font-size: 1.1em;     font-weight: bold;     margin: 0;     padding: 0;     width: 300px; } .static-block dd {     font-size: 1.1em;     margin: 0 0 0 225px;     padding: 0 0 5px 15px; } &lt;/style&gt;
  &lt;script language="javascript" type="text/javascript"&gt; $('.trgprdval').trigger('change');    var inFulfilmentStartDate_cal = new calendar3(document.main.inFulfillmentDate, "MM/DD/YYYY");    inFulfilmentStartDate_cal.year_scroll = true;    inFulfilmentStartDate_cal.time_comp = false; function myCdidFunction() {     var newCDID = document.getElementById('inClientDefinedIdentifier').value;     document.getElementById('inNewCdid').value = newCDID;      } function copyRadioVal(inputValue, origVal, inputName, name) {        var hiddenValues = document.getElementsByClassName(name);     console.log(inputName);     console.log(name);     console.log(document.getElementById(inputName));     x = document.getElementById(inputName).checked;     if (x==true)     {         $("#"+origVal).val(inputValue);     } } function copyCheckboxVal(inputValue, origVal, inputName, inPrimacyNo, inputId) {        var x = document.getElementById(inputName).checked;       if (x==true)     {         document.getElementById(origVal).value = inputValue;     }     if (x==false)     {         document.getElementById(origVal).value = "";     }     var inputType = inPrimacyNo.concat(inputId);     document.getElementById(inputType).value = inPrimacyNo; } function joinSelectVal(newInputName, oldInputId) {     var selectval = document.forms["main"][oldInputId];    var selectedList = [];    for (var i = 0; i &lt; selectval.length; i++) {       if (selectval[i].selected) {          selectedList.push(selectval[i].value);       }    }    var checkedStr = Array.join(selectedList, "~");    if (checkedStr.length == 0) {    checkedStr = "NO@VALUE";    }    document.getElementById(newInputName).value = checkedStr; } function validateInputsAndSubmit(button) { var valSuppFields = validateAcctSuppFields('.accountsForm'); if(!valSuppFields['isValid']) { alert(valSuppFields['errorMsg']); return false; } lockAndSubmitForm(button); } &lt;/script&gt;
  &lt;div class="color-block"&gt;
  &lt;div class="white-block"&gt;
  &lt;form class="accountsForm" name="main" method="post" action="/ui/mod_plsql.php/aria/csrtools/dashboard_plan_m.plan_unit_instance_save_m" onsubmit="return false;"&gt;
  &lt;font size="3"&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;table class="data-table clear-both" cellspacing="0"&gt;
  &lt;colgroup&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
  &lt;tr class="dataRow1 even"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;10089723&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Yes&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Invoiced&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;input type="hidden" value="10089723" name="INSERVICES[0][inServiceNo]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[0][inFulfillmentStatus]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[0][inFulfillmentBasedInd]"/&gt;
  &lt;input id="inFulfillmentDate10089723" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[0][inFulfillmentDate]"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="dataRow1 even"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;10089726&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Yes&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Invoiced&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;input type="hidden" value="10089726" name="INSERVICES[1][inServiceNo]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[1][inFulfillmentStatus]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[1][inFulfillmentBasedInd]"/&gt;
  &lt;input id="inFulfillmentDate10089726" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[1][inFulfillmentDate]"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="dataRow1 even"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;10089727&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Yes&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Invoiced&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;input type="hidden" value="10089727" name="INSERVICES[2][inServiceNo]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[2][inFulfillmentStatus]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[2][inFulfillmentBasedInd]"/&gt;
  &lt;input id="inFulfillmentDate10089727" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[2][inFulfillmentDate]"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="dataRow1 even"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;10089730&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Yes&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Invoiced&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;input type="hidden" value="10089730" name="INSERVICES[3][inServiceNo]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[3][inFulfillmentStatus]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[3][inFulfillmentBasedInd]"/&gt;
  &lt;input id="inFulfillmentDate10089730" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[3][inFulfillmentDate]"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr class="dataRow1 even"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;td valign="top" style="text-align: left;"&gt;10089747&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Yes&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;Invoiced&lt;/td&gt;
  &lt;td valign="top" style="text-align: left;"&gt;
  &lt;input type="hidden" value="10089747" name="INSERVICES[4][inServiceNo]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[4][inFulfillmentStatus]"/&gt;
  &lt;input type="hidden" value="1" name="INSERVICES[4][inFulfillmentBasedInd]"/&gt;
  &lt;input id="inFulfillmentDate10089747" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[4][inFulfillmentDate]"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;font size="3"&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;table class="simple" cellspacing="0"&gt;
  &lt;input type="hidden" value="8179" name="inPlanNo"/&gt;
  &lt;input type="hidden" value="4066308" name="inPlanUnitInstanceNo"/&gt;
  &lt;input id="inNewCdid" type="hidden" name="inClientDefinedIdentifier"/&gt;
  &lt;input type="hidden" value="MasterPlan" name="inSelectedPlan"/&gt;
  &lt;input type="hidden" value="19328197" name="inPlanInstanceNo"/&gt;
  &lt;div class="form-buttons"&gt;
  &lt;input type="hidden" value="AAAAAAUJTTz9lWKS_TgqUANHCenOnmxH2IQHclhl2zoruTE55z7CFHIdaAAJNyGlNLLnb5f-97HVxpFchLgkkTjIFz9d_I_sKfI7EQd83gmsfyFtQA==" name="as_sfid"/&gt;
  &lt;input type="hidden" value="yli8W38Xf7v_849HentO" name="as_fid"/&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
      &lt;input id="inFulfillmentDate10089723" type="text" readonly="readonly" value="4/11/2016" name="INSERVICES[0][inFulfillmentDate]"/&gt;
  
  &lt;/td&gt;
  </code></pre>