title: send keys entering previous rows value with new value in text box
body: <p>I have an excel with 100 rows of data (data only in column 1). I read it using XSSF classes. I need to read the value from each row and enter in text box of webpage to search for records.  However when script reads row3 and enter the value in text box, it also appends the value of row2 to value of row3. I just want current row value to enter in text box. I am not sure what am I missing here. Advise appreciated.</p>
  <p>This is what i am trying to do</p>
  <pre><code>    File file = new File(&quot;file path&quot;);
      FileInputStream inputStream = new FileInputStream(file);
      XSSFWorkbook wb=new XSSFWorkbook(inputStream);
      XSSFSheet sheet=wb.getSheet(0);
      int rowCount=sheet.getLastRowNum()-sheet.getFirstRowNum();
  
      for(int i=0;i&lt;=rowCount;i++){
              String value = sheet.getRow(i).getCell(0).getStringCellValue();
              searchtxtbox.clear();
              searchtxtbox.sendKeys(value);
  
      }
  }
  </code></pre>
  <p>I have tried javascript executor and that also didnt work as it disables the search icon next to search text box</p>
  <p>Note : Using selenium webdriver with Java</p>