コード例 #1
0
 public Home_page(ITestOutputHelper output) : base(output)
 {
     _client = ClientHelper.Build();
     _client.RegisterTestEndpoints();
     _driver = SeleniumConfiguration.GetWebDriver();
     _driver.RetryTimeout(Timeouts.Default);
     _homeUrl = $"{SeleniumConfiguration.BaseUrl}?endpoint-frequency=1000000&config-frequency=1000000";
 }
コード例 #2
0
 public Dashboard_page(ITestOutputHelper output) : base(output)
 {
     _dashboardUrl = $"{SeleniumConfiguration.BaseUrl}dashboard?endpoint-frequency=1000000&config-frequency=1000000";
     _groupFilter  = $"{SeleniumHelper.TestGroups[0].Replace("group", "*")}";
     _client       = ClientHelper.Build();
     _client.RegisterTestEndpoints();
     _driver = SeleniumConfiguration.GetWebDriver();
     _driver.RetryTimeout(Timeouts.Default);
 }
コード例 #3
0
        public Details_page(ITestOutputHelper output) : base(output)
        {
            _client = ClientHelper.Build();
            _client.RegisterTestEndpoints();
            _driver = SeleniumConfiguration.GetWebDriver();
            _driver.RetryTimeout(Timeouts.Default);

            _endpointLinksOfTagRowsOnHomePage  = $"{_rowsWithTags}//td[2]//a";
            _endpointGroupsOfTagRowsOnHomePage = $"{_rowsWithTags}//td[1]";
            _endpointTagsOnHomePage            = $"{_rowsWithTags}//td[6]//span";
        }
コード例 #4
0
 public WebDriverContext()
 {
     Driver = SeleniumConfiguration.GetWebDriver();
     Driver.RetryTimeout(Timeouts.Default);
     Driver.Manage().Window.Maximize();
 }
コード例 #5
0
 public WebDriverContext()
 {
     Driver = SeleniumConfiguration.GetWebDriver();
     Driver.Manage().Window.Maximize();
 }