コード例 #1
0
        public void SetUpOneTestCase()
        {
            _action              = new PageCommonAction(DriverContext.Driver);
            _userContentStart    = new UserContentStart(DriverContext.Driver);
            _userEditFormFilling = new UserEditFormFilling(DriverContext.Driver);
            _userEditPrinting    = new UserEditPrinting(DriverContext.Driver);
            _userEditFinish      = new UserEditFinish(DriverContext.Driver);
            _adminProducts       = new AdminProducts(DriverContext.Driver);
            _adminProductDetails = new AdminProductDetails(DriverContext.Driver);
            _adminOptionSet      = new AdminOptionSet(DriverContext.Driver);
            _adminOptionField    = new AdminOptionField(DriverContext.Driver);
            _adminProductRetired = new AdminProductRetired(DriverContext.Driver);
            _adminExtensions     = new AdminExtensions(DriverContext.Driver);

            _oneDesign = new OneDesign(DriverContext);
        }
コード例 #2
0
        public NewAppTest(BrowserTypes browserTypes) : base(browserTypes)
        {
            _action                     = new PageCommonAction(_browser);
            _userLoginPage              = new UserLogin(_browser);
            _myDesign                   = new MyDesign(_browser);
            _userContentStart           = new UserContentStart(_browser);
            _userEditFormFilling        = new UserEditFormFilling(_browser);
            _userEditPrinting           = new UserEditPrinting(_browser);
            _userEditFinish             = new UserEditFinish(_browser);
            _oneDesign                  = new OneDesign(_browser);
            _userContentApprovals       = new UserContentApprovals(_browser);
            _userContentApprovalsReview = new UserContentApprovalsReview(_browser);
            _adminLogin                 = new AdminLogin(_browser);
            _adminProducts              = new AdminProducts(_browser);
            _adminProductDetails        = new AdminProductDetails(_browser);

            _designNamePrefix = Guid.NewGuid().ToString();
        }
コード例 #3
0
        public void Init()
        {
            _designNamePrefix = Guid.NewGuid().ToString();

            _action                     = new PageCommonAction(DriverContext.Driver);
            _userLoginPage              = new UserLogin(DriverContext);
            _myDesign                   = new MyDesign(DriverContext);
            _userContentStart           = new UserContentStart(DriverContext.Driver);
            _userEditFormFilling        = new UserEditFormFilling(DriverContext.Driver);
            _userEditPrinting           = new UserEditPrinting(DriverContext.Driver);
            _userEditFinish             = new UserEditFinish(DriverContext.Driver);
            _oneDesign                  = new OneDesign(DriverContext);
            _userContentApprovals       = new UserContentApprovals(DriverContext.Driver);
            _userContentApprovalsReview = new UserContentApprovalsReview(DriverContext.Driver);
            _adminLogin                 = new AdminLogin(DriverContext);
            _adminProducts              = new AdminProducts(DriverContext.Driver);
            _adminProductDetails        = new AdminProductDetails(DriverContext.Driver);
        }