Esempio n. 1
0
        public void Init()
        {
            string browserType = System.Environment.GetEnvironmentVariable("BROWSER");
            string baseUrl = System.Environment.GetEnvironmentVariable("BASE_URL");
            string hubUrl = System.Environment.GetEnvironmentVariable("HUB_URL");

            if (baseUrl == null)
            {
                baseUrl = "http://autotest.test.keepteam.ru";
            }

            DesiredCapabilities capabilities = new DesiredCapabilities();

            //Mac 48
            //Win8 49
            //hubUrl = "http://192.168.0.48:4444/wd/hub"; browserType = "chrome";

            capabilities.SetCapability(CapabilityType.BrowserName,
                browserType != null ? browserType : "chrome");

            app = new AppManager(capabilities, baseUrl, hubUrl);
        }
 public TimeOffHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
Esempio n. 3
0
 public UserHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
Esempio n. 4
0
 public EmailHelper(AppManager app)
 {
 }
Esempio n. 5
0
 public AssetHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
 public CommentHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
Esempio n. 7
0
        public TimeOffHelper(AppManager app)

        {
            this.app   = app;
            this.pages = app.Pages;
        }
Esempio n. 8
0
 public HiringHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
Esempio n. 9
0
 //private AppManager app;
 //private PageManager pages;
 public FileHelper(AppManager app)
 {
     /* this.app = app;
     this.pages = app.Pages;*/
 }
Esempio n. 10
0
        public KPIHelper(AppManager app)

        {
            this.app   = app;
            this.pages = app.Pages;
        }
Esempio n. 11
0
 public ScreenHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }
Esempio n. 12
0
        //private AppManager app;
        //private PageManager pages;
        public FileHelper(AppManager app)

        {
            /* this.app = app;
             * this.pages = app.Pages;*/
        }
Esempio n. 13
0
 public ScreenHelper(AppManager app)
 {
     this.app   = app;
     this.pages = app.Pages;
 }
Esempio n. 14
0
 public EmployeeHelper(AppManager app)
 {
     this.app   = app;
     this.pages = app.Pages;
 }
Esempio n. 15
0
 public EmployeeHelper(AppManager app)
 {
     this.app = app;
     this.pages = app.Pages;
 }