public void SampleFormWithExcelData()
 {
     Test = extent.CreateTest("FillFormWithDataDrivenApproach");
     driver.Navigate().GoToUrl("https://www.globalsqa.com/samplepagetest/");
     Pages.SamplePageTest FillForm = new Pages.SamplePageTest();
     FillForm.FormSubmitwithDDT();
     Test.Pass("Test passed Successfully");
 }
 public void SampleForm()
 {
     Test = extent.CreateTest("FillFormWithKeyword");
     driver.Navigate().GoToUrl("https://www.globalsqa.com/samplepagetest/");
     Pages.SamplePageTest FillForm = new Pages.SamplePageTest();
     FillForm.FormSubmit();
     Test.Pass("Test passed Successfully");
 }