public SeleniumBase(IDriverLinker parentObject) { this.ParentObject = parentObject; if (parentObject != null) { this.Sync_IDriverLinker_ToThis_Class(parentObject); } }
public AurigoTestException(IDriverLinker driverRef, EnumExceptionType exceptionType, string msg) : base(msg) { DriverReference = driverRef; if (DriverReference != null) { ScreenshotPath = Helpers.GetImageLogFileWithFullPath(); //Take the screenshot Screenshot image = ((ITakesScreenshot)DriverReference.PrimaryDriver).GetScreenshot(); //Save the screenshot image.SaveAsFile(ScreenshotPath, ScreenshotImageFormat.Png); } }
public ControlValidatorAccessor(IDriverLinker driverLinker) : base(driverLinker) { }
public MasterAT(IDriverLinker driverLinker) { DriverLinker = driverLinker; }
public AccessorBase(IDriverLinker driverLinker) { this._refIDriverLinker = driverLinker; }
public static AurigoTestException AsAssertException(IDriverLinker driverRef, string expectedValue, string actualValue, Exception ex = null) { return(new AurigoTestException(driverRef, EnumExceptionType.AssertException, string.Format("Assert failed expected '{0}' (actual '{1}')", expectedValue, actualValue), ex)); }
public AurigoTestException(IDriverLinker driverRef, EnumExceptionType exceptionType, string msg, Exception innerException) : base(msg, innerException) { DriverReference = driverRef; }
public AurigoTestException(IDriverLinker driverRef) { }
public GenericListPage(IDriverLinker driverLinker, string listPageURL) : base(driverLinker, listPageURL) { ListPageUrl = listPageURL; }
public AutomationBase(IDriverLinker parentObject) : base(parentObject) { }
public AbstractListPage(IDriverLinker driverLinker, string listPageURL) : base(driverLinker) { ListPageUrl = listPageURL; }
public RibbonBarAccessor(IDriverLinker driverLinker) : base(driverLinker) { this._refIDriverLinker = driverLinker; }
public FormToasterAccessor(IDriverLinker driverLinker) : base(driverLinker) { }
private void Sync_IDriverLinker_ToThis_Class(IDriverLinker src) { this.TestID = src.TestID; this.PrimaryDriver = src.PrimaryDriver; this.IFrameDriver = null; //this will make sure when it is accessed next the latest iframe ref is available }
public ProjectContent(IDriverLinker driverLinker, int pid) : base(driverLinker) { }
public HomePage(IDriverLinker driverLinker) : base(driverLinker) { }