public void TestCase1() { examplePage .SomeAction(); AEye.Scan("ExampleImageTest2"); }
public void LoginPage_ValidateLoginPage(string language) { LoginPage .ChangeLanguage(language) .Signin(); AEye.Scan(); }
public void OneTimeSetup() { // Starts HTML reporter var htmlReporter = new ExtentHtmlReporter( AppDomain.CurrentDomain.BaseDirectory + ConfigurationManager.AppSettings["ReportPath"] + "TestReport " + DateTime.Now.ToString("MM-dd-yyyy hh-mm") + "/"); _htmlReport = new ExtentReports(); _htmlReport.AttachReporter(htmlReporter); // Initializes a new instance of Selenium Web Driver _driver = DriverBase.Initialize(); PageBase.Driver = _driver; // Creates a new instance of a AEyeBase class AEye = new AEye(); }