示例#1
0
        public ApplicationManager()
        {
            driver  = new FirefoxDriver(new FirefoxBinary("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"), new FirefoxProfile());
            baseURL = "http://localhost/";

            defHelper     = new DefaultActionsHelper(driver);
            loginHelper   = new LoginHelper(driver, baseURL);
            logoutHelper  = new LogoutHelper(driver, defHelper);
            navHelper     = new NavigationHelper(driver, baseURL, defHelper);
            contactHelper = new ContactHelper(driver);
            groupHelper   = new GroupHelper(driver);
        }
示例#2
0
 public NavigationHelper(IWebDriver driver, string baseURL, DefaultActionsHelper defHelper)
 {
     this.driver    = driver;
     this.baseURL   = baseURL;
     this.defHelper = defHelper;
 }
示例#3
0
 public LogoutHelper(IWebDriver driver, DefaultActionsHelper defHelper) : base(driver)
 {
     this.defHelper = defHelper;
 }