Example #1
0
 public SeleniumBase(IDriverLinker parentObject)
 {
     this.ParentObject = parentObject;
     if (parentObject != null)
     {
         this.Sync_IDriverLinker_ToThis_Class(parentObject);
     }
 }
Example #2
0
        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);
            }
        }
Example #3
0
 public ControlValidatorAccessor(IDriverLinker driverLinker) : base(driverLinker)
 {
 }
Example #4
0
 public MasterAT(IDriverLinker driverLinker)
 {
     DriverLinker = driverLinker;
 }
Example #5
0
 public AccessorBase(IDriverLinker driverLinker)
 {
     this._refIDriverLinker = driverLinker;
 }
Example #6
0
 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));
 }
Example #7
0
 public AurigoTestException(IDriverLinker driverRef, EnumExceptionType exceptionType, string msg, Exception innerException) : base(msg, innerException)
 {
     DriverReference = driverRef;
 }
Example #8
0
 public AurigoTestException(IDriverLinker driverRef)
 {
 }
Example #9
0
 public GenericListPage(IDriverLinker driverLinker, string listPageURL) : base(driverLinker, listPageURL)
 {
     ListPageUrl = listPageURL;
 }
Example #10
0
 public AutomationBase(IDriverLinker parentObject) : base(parentObject)
 {
 }
Example #11
0
 public AbstractListPage(IDriverLinker driverLinker, string listPageURL) : base(driverLinker)
 {
     ListPageUrl = listPageURL;
 }
Example #12
0
 public RibbonBarAccessor(IDriverLinker driverLinker) : base(driverLinker)
 {
     this._refIDriverLinker = driverLinker;
 }
Example #13
0
 public FormToasterAccessor(IDriverLinker driverLinker) : base(driverLinker)
 {
 }
Example #14
0
 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
 }
Example #15
0
 public ProjectContent(IDriverLinker driverLinker, int pid) : base(driverLinker)
 {
 }
Example #16
0
 public HomePage(IDriverLinker driverLinker) : base(driverLinker)
 {
 }