public TestCase()
        {
            ChromeDriver driver0 = new ChromeDriver();

            driver  = new SeleniumLogEventListener(driver0);
            Home    = new HomePage(driver);
            Contact = new ContactUsPage(driver);
            SeleniumLog log = SeleniumLog.Instance(driver);  //Only need to pass in driver once as it is a Singleton object
        }
Example #2
0
 public void ContactUsSetup()
 {
     sut = new ContactUsPage(driver);
     sut.GoToPage();
 }
 public TestCase() {
     ChromeDriver driver0 = new ChromeDriver();
     driver = new SeleniumLogEventListener(driver0);
     Home = new HomePage(driver);
     Contact = new ContactUsPage(driver);
     SeleniumLog log = SeleniumLog.Instance(driver);  //Only need to pass in driver once as it is a Singleton object
 }