title: how to compare these string and webelement
body: <pre><code>String result=driver.findElement(
            By.id("sys_original.incident.number")).getAttribute("value");
  
  WebElement a=driver.findElement(By.xpath(
              "/html/body/div[1]/div/span/div/nav/div/span/div/div/input"));
  a.sendKeys(result);
  </code></pre>
  
  <p>I need coding to compare these string and webelement in webdriver.Both must display same answer</p>