title: How to verify an element retrieved from excel file using selenium
body: <p><a href="https://i.stack.imgur.com/p0a8l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p0a8l.png" alt="screenshot on web page"></a>I have an excel file with data in a column. I want to check each value(it is element name only) whether it is displayed on the web page or not.</p>
  
  <pre><code>String AdminRoleAccessfilepath = "\\AdminRoleAccess.xls";
  FileInputStream AdminRoleFile=new  
  FileInputStream(AdminRoleAccessfilepath);
  Workbook rwb=Workbook.getWorkbook(AdminRoleFile);
  Sheet AdminRolesheet=rwb.getSheet("AdminRole");
  
  //Check the menu items in Excel Data
  
  int menucolumnsize=AdminRolesheet.getRows();
  String[] arraymenu=new String[menucolumnsize];
  int i;
  for (i=1;i&lt;menucolumnsize;i++)
    {
       arraymenu[i] = AdminRolesheet.getCell(1,i).getContents();
      //System.out.println(arraymenu[i]);
      if(arraymenu[i].
    }
      }
  </code></pre>
  
  <p>sample data is in excel 2nd column:
  Activities
  Activities On Map
  Activity
  Activity Expenses
  Activity Master</p>
  
  <p>I want to verify "Activities" is present/displayed or not.</p>