title: How to read and write values in excel using java?
body: <blockquote>
    <ul>
    <li>Sample Excel --> Sorry I'm not allowed to attached a image..</li>
    <li>TC No. | Title | <strong>Result</strong></li>
    <li>1 | State and Vin | <strong>Failed</strong></li>
    <li>2 |  State and Reg Code | <strong>Passed</strong></li>
    <li>3 |  Booking a Test Drive | <strong>Passed</strong></li>
    </ul>
  </blockquote>
  
  <pre><code>public class sampleTest{
  public static void main(String[] args) throws Exception {
           int iTest = 2, iTest2 = 3;
            if (iTest == iTest2){
                //It will pass a value into the excel (e.g. "Passed")
            }
            else{
               //It will pass a value into the excel (e.g. "Failed")
            }
      }
  </code></pre>
  
  <p>My program's goal is to generate a report by getting the Passed and Failed results from my tests. My main problem here is on how to read the results from the excel and place the value <strong>"Passed"</strong> or <strong>"Failed"</strong> under <strong>Result column</strong>.</p>