コード例 #1
0
 /// <summary>
 /// Initialize asserts class with Driver and ExtentX reporting
 /// </summary>
 /// <param name="driver">Selenium IwebDriver</param>
 /// <param name="extest">ExtentTest from ExtentX reporting</param>
 public Asserts(IWebDriver driver, ExtentTest extest, string[] reports)
 {
     this.driver         = driver;
     this.extest         = extest;
     this.reportsLibrary = new Reports.Reports(driver, extest);
     this.reportTypes    = reports;
 }
コード例 #2
0
 public Asserts(IWebDriver driver, string testName, string[] reports)
 {
     this.driver         = driver;
     this.reportsLibrary = new Reports.Reports(driver, testName);
     this.reportTypes    = reports;
 }
コード例 #3
0
 public ElementInteractions(IWebDriver driver, string testName, string[] reports)
 {
     this.driver         = driver;
     this.reportsLibrary = new Reports.Reports(driver, testName);
     this.reportTypes    = reports;
 }
コード例 #4
0
 public ElementInteractions(IWebDriver driver, ExtentTest extest)
 {
     this.driver         = driver;
     this.extest         = extest;
     this.reportsLibrary = new Reports.Reports(driver, extest);
 }