title: how to get the readonly field value using selenium
body: <p>I have read only field on Webpage as </p>
  
  <pre><code>&lt;div id="dspIdDescriptionDet-inputEl" class="x-form-display-field" role="input" aria-invalid="false" data-errorqtip="" style="width: 100%;"&gt;2010-RR3 XIIIA9 20360726 FLT&lt;/div&gt;
  </code></pre>
  
  <p>When I'm trying to get the display value (<code>"2010-RR3 XIIIA9 20360726 FLT"</code>) using <code>getText()</code> or <code>getAttribute("Value")</code> using Webdriver, its fetching nothing.</p>
  
  <p>error on eclipse:</p>
  
  <pre><code>expected:&lt;2010-RR3 XIIIA9 20360726 FLT&gt; but was:&lt;null&gt;
  </code></pre>
  
  <p>code:</p>
  
  <pre><code>driver.findElement(By.xpath(".//*[@id='dspIdDescriptionDet-i‌​nputEl']")).getAttri‌​bute("value"))
  </code></pre>