-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zzzrst/ImplementationOfAutomationTestSetFr…
…amework Implementation of automation test set framework
- Loading branch information
Showing
134 changed files
with
16,676 additions
and
1,344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// <copyright file="IAccessibilityChecker.cs" company="PlaceholderCompany"> | ||
// Copyright (c) PlaceholderCompany. All rights reserved. | ||
// </copyright> | ||
|
||
namespace SeleniumPerfXML.Axe | ||
{ | ||
using OpenQA.Selenium; | ||
|
||
/// <summary> | ||
/// The Accessibility interface. | ||
/// </summary> | ||
public interface IAccessibilityChecker | ||
{ | ||
/// <summary> | ||
/// Gets or sets the webdriver variable. | ||
/// </summary> | ||
public IWebDriver WebDriver { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// <copyright file="SeleniumDriverBuilder.cs" company="PlaceholderCompany"> | ||
// Copyright (c) PlaceholderCompany. All rights reserved. | ||
// </copyright> | ||
|
||
namespace SeleniumPerfXML.Builders | ||
{ | ||
using System; | ||
using static SeleniumPerfXML.SeleniumDriver; | ||
|
||
/// <summary> | ||
/// Builds a new selenium Driver based on the given variables. | ||
/// </summary> | ||
public class SeleniumDriverBuilder | ||
{ | ||
/// <summary> | ||
/// Gets or sets the browser to use. | ||
/// </summary> | ||
public Browser Browser { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the time out Threshold. | ||
/// </summary> | ||
public TimeSpan TimeOutThreshold { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the Enviornment to use. | ||
/// </summary> | ||
public string Environment { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the url to go to. | ||
/// </summary> | ||
public string URL { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the location of the Screenshot. | ||
/// </summary> | ||
public string ScreenshotSaveLocation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the error container location. | ||
/// </summary> | ||
public string ErrorContainer { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the loading spinner location. | ||
/// </summary> | ||
public string LoadingSpinner { get; set; } | ||
|
||
/// <summary> | ||
/// Returns the seleniumDriver based on the given paramenters. | ||
/// </summary> | ||
/// <returns>A new SeleniumDriver.</returns> | ||
public SeleniumDriver BuildSeleniumDriver() | ||
{ | ||
SeleniumDriver driver; | ||
driver = new SeleniumDriver(this.Browser, this.TimeOutThreshold, this.Environment, this.URL, this.ScreenshotSaveLocation) | ||
{ | ||
ErrorContainer = this.ErrorContainer, | ||
LoadingSpinner = this.LoadingSpinner, | ||
}; | ||
return driver; | ||
} | ||
} | ||
} |
Oops, something went wrong.