Esempio n. 1
0
        public void TestInitialize()
        {
            MemberSearchHost.Stop();
            StartHosts();

            _joinUrl       = new ReadOnlyApplicationUrl(true, "~/join");
            _uploadUrl     = new ReadOnlyApplicationUrl(true, "~/api/resumes/upload");
            _parseUrl      = new ReadOnlyApplicationUrl(true, "~/api/resumes/parse");
            _activationUrl = new ReadOnlyApplicationUrl("~/accounts/activation");

            _joinFormId = "JoinForm";

            _personalDetailsFormId      = "PersonalDetailsForm";
            _firstNameTextBox           = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox            = new HtmlTextBoxTester(Browser, "LastName");
            _emailAddressTextBox        = new HtmlTextBoxTester(Browser, "EmailAddress");
            _phoneNumberTextBox         = new HtmlTextBoxTester(Browser, "PhoneNumber");
            _mobileRadioButton          = new HtmlRadioButtonTester(Browser, "Mobile");
            _homeRadioButton            = new HtmlRadioButtonTester(Browser, "Home");
            _workRadioButton            = new HtmlRadioButtonTester(Browser, "Work");
            _passwordTextBox            = new HtmlPasswordTester(Browser, "Password");
            _confirmPasswordTextBox     = new HtmlPasswordTester(Browser, "ConfirmPassword");
            _acceptTermsCheckBox        = new HtmlCheckBoxTester(Browser, "AcceptTerms");
            _countryIdDropDownList      = new HtmlDropDownListTester(Browser, "CountryId");
            _locationTextBox            = new HtmlTextBoxTester(Browser, "Location");
            _notLookingRadioButton      = new HtmlRadioButtonTester(Browser, "NotLooking");
            _openToOffersRadioButton    = new HtmlRadioButtonTester(Browser, "OpenToOffers");
            _activelyLookingRadioButton = new HtmlRadioButtonTester(Browser, "ActivelyLooking");
            _availableNowRadioButton    = new HtmlRadioButtonTester(Browser, "AvailableNow");
            _salaryLowerBoundTextBox    = new HtmlTextBoxTester(Browser, "SalaryLowerBound");
            _salaryRateYearRadioBox     = new HtmlRadioButtonTester(Browser, "SalaryRateYear");
            _salaryRateHourRadioBox     = new HtmlRadioButtonTester(Browser, "SalaryRateHour");

            _jobDetailsFormId = "JobDetailsForm";
        }
Esempio n. 2
0
 public void TestInitialize()
 {
     _advancedSearchUrl = new ReadOnlyApplicationUrl("~/search/jobs/advanced");
     _searchResultsUrl  = new ReadOnlyApplicationUrl("~/search/jobs/results");
     _allWordsTextBox   = new HtmlTextBoxTester(Browser, "KeywordsAdvanced");
     _searchButton      = new HtmlButtonTester(Browser, "searchAdvanced");
 }
Esempio n. 3
0
        public void TestInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();
            _emailServer.ClearEmails();

            _firstNameTextBox        = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox         = new HtmlTextBoxTester(Browser, "LastName");
            _emailAddressTextBox     = new HtmlTextBoxTester(Browser, "EmailAddress");
            _phoneNumberTextBox      = new HtmlTextBoxTester(Browser, "PhoneNumber");
            _loginIdTextBox          = new HtmlTextBoxTester(Browser, "LoginId");
            _organisationNameTextBox = new HtmlTextBoxTester(Browser, "OrganisationName");

            _isEnabledTextBox = new HtmlTextBoxTester(Browser, "IsEnabled");
            _enableButton     = new HtmlButtonTester(Browser, "enable");
            _disableButton    = new HtmlButtonTester(Browser, "disable");

            _changePasswordTextBox     = new HtmlTextBoxTester(Browser, "Password");
            _sendPasswordEmailCheckBox = new HtmlCheckBoxTester(Browser, "SendPasswordEmail");
            _changeButton = new HtmlButtonTester(Browser, "change");

            _passwordTextBox           = new HtmlPasswordTester(Browser, "Password");
            _newPasswordTextBox        = new HtmlPasswordTester(Browser, "NewPassword");
            _confirmNewPasswordTextBox = new HtmlPasswordTester(Browser, "ConfirmNewPassword");
            _saveButton = new HtmlButtonTester(Browser, "save");

            _mustChangePasswordUrl = new ReadOnlyApplicationUrl(true, "~/accounts/mustchangepassword");
            _contactUsUrl          = new ReadOnlyApplicationUrl("~/faqs/accessing-and-editing-your-profile/what-does-it-mean-that-my-account-is-disabled/7B7FAD42-E027-4586-843B-4D422F39E7EA");
        }
Esempio n. 4
0
        public void TestInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();
            ClearSearchIndexes();
            _emailServer.ClearEmails();

            _newJobAdUrl = new ReadOnlyApplicationUrl(true, "~/employers/jobads/jobad");

            _titleTextBox               = new HtmlTextBoxTester(Browser, "Title");
            _positionTitleTextBox       = new HtmlTextBoxTester(Browser, "PositionTitle");
            _bulletPoint1TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint1");
            _bulletPoint2TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint2");
            _bulletPoint3TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint3");
            _summaryTextBox             = new HtmlTextAreaTester(Browser, "Summary");
            _contentTextBox             = new HtmlTextAreaTester(Browser, "Content");
            _emailAddressTextBox        = new HtmlTextBoxTester(Browser, "EmailAddress");
            _locationTextBox            = new HtmlTextBoxTester(Browser, "Location");
            _companyNameTextBox         = new HtmlTextBoxTester(Browser, "CompanyName");
            _residencyRequiredCheckBox  = new HtmlCheckBoxTester(Browser, "ResidencyRequired");
            _industryIdsListBox         = new HtmlListBoxTester(Browser, "IndustryIds");
            _fullTimeCheckBox           = new HtmlCheckBoxTester(Browser, "FullTime");
            _hideContactDetailsCheckBox = new HtmlCheckBoxTester(Browser, "HideContactDetails");

            _previewButton = new HtmlButtonTester(Browser, "preview");
            _publishButton = new HtmlButtonTester(Browser, "publish");
        }
Esempio n. 5
0
        public void TestInitialize()
        {
            _desiredJobUrl = new ReadOnlyApplicationUrl(true, "~/members/profile/desiredjob");

            _desiredJobTitleTextBox                       = new HtmlTextBoxTester(Browser, "DesiredJobTitle");
            _fullTimeCheckBox                             = new HtmlCheckBoxTester(Browser, "FullTime");
            _partTimeCheckBox                             = new HtmlCheckBoxTester(Browser, "PartTime");
            _contractCheckBox                             = new HtmlCheckBoxTester(Browser, "Contract");
            _tempCheckBox                                 = new HtmlCheckBoxTester(Browser, "Temp");
            _jobShareTextBox                              = new HtmlCheckBoxTester(Browser, "JobShare");
            _availableNowRadioButton                      = new HtmlRadioButtonTester(Browser, "AvailableNow");
            _activelyLookingRadioButton                   = new HtmlRadioButtonTester(Browser, "ActivelyLooking");
            _openToOffersRadioButton                      = new HtmlRadioButtonTester(Browser, "OpenToOffers");
            _notLookingRadioButton                        = new HtmlRadioButtonTester(Browser, "NotLooking");
            _salaryRateYearRadioButton                    = new HtmlRadioButtonTester(Browser, "SalaryRateYear");
            _salaryRateHourRadioButton                    = new HtmlRadioButtonTester(Browser, "SalaryRateHour");
            _salaryLowerBoundTextBox                      = new HtmlTextBoxTester(Browser, "SalaryLowerBound");
            _isSalaryNotVisibleCheckBox                   = new HtmlCheckBoxTester(Browser, "IsSalaryNotVisible");
            _sendSuggestedJobsCheckBox                    = new HtmlCheckBoxTester(Browser, "SendSuggestedJobs");
            _relocationPreferenceYesRadioButton           = new HtmlRadioButtonTester(Browser, "RelocationPreferenceYes");
            _relocationPreferenceNoRadioButton            = new HtmlRadioButtonTester(Browser, "RelocationPreferenceNo");
            _relocationPreferenceWouldConsiderRadioButton = new HtmlRadioButtonTester(Browser, "RelocationPreferenceWouldConsider");
            _relocationCountryIdsListBox                  = new HtmlListBoxTester(Browser, "RelocationCountryIds");
            _relocationCountryLocationIdsListBox          = new HtmlListBoxTester(Browser, "RelocationCountryLocationIds");
        }
Esempio n. 6
0
        public void TestInitialize()
        {
            JobAdSearchHost.Stop();
            JobAdSortHost.Stop();
            StartSearchHosts();
            StartSortHosts();

            _titleTextBox               = new HtmlTextBoxTester(Browser, "Title");
            _positionTitleTextBox       = new HtmlTextBoxTester(Browser, "PositionTitle");
            _bulletPoint1TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint1");
            _bulletPoint2TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint2");
            _bulletPoint3TextBox        = new HtmlTextBoxTester(Browser, "BulletPoint3");
            _summaryTextBox             = new HtmlTextAreaTester(Browser, "Summary");
            _contentTextBox             = new HtmlTextAreaTester(Browser, "Content");
            _emailAddressTextBox        = new HtmlTextBoxTester(Browser, "EmailAddress");
            _locationTextBox            = new HtmlTextBoxTester(Browser, "Location");
            _companyNameTextBox         = new HtmlTextBoxTester(Browser, "CompanyName");
            _residencyRequiredCheckBox  = new HtmlCheckBoxTester(Browser, "ResidencyRequired");
            _industryIdsListBox         = new HtmlListBoxTester(Browser, "IndustryIds");
            _fullTimeCheckBox           = new HtmlCheckBoxTester(Browser, "FullTime");
            _hideContactDetailsCheckBox = new HtmlCheckBoxTester(Browser, "HideContactDetails");

            _previewButton = new HtmlButtonTester(Browser, "preview");
            _publishButton = new HtmlButtonTester(Browser, "publish");

            _newJobAdUrl = new ReadOnlyApplicationUrl(true, "~/employers/jobads/jobad");
        }
Esempio n. 7
0
        private void InitialiseTesters()
        {
            _homeJoinFormId = "JoinForm";

            _homeFirstNameTextBox       = new HtmlTextBoxTester(Browser, "FirstName");
            _homeLastNameTextBox        = new HtmlTextBoxTester(Browser, "LastName");
            _homeEmailAddressTextBox    = new HtmlTextBoxTester(Browser, "EmailAddress");
            _homePasswordTextBox        = new HtmlPasswordTester(Browser, "JoinPassword");
            _homeConfirmPasswordTextBox = new HtmlPasswordTester(Browser, "JoinConfirmPassword");
            _homeAcceptTermsCheckBox    = new HtmlCheckBoxTester(Browser, "AcceptTerms");

            _joinFormId = "JoinForm";

            _personalDetailsFormId   = "PersonalDetailsForm";
            _firstNameTextBox        = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox         = new HtmlTextBoxTester(Browser, "LastName");
            _emailAddressTextBox     = new HtmlTextBoxTester(Browser, "EmailAddress");
            _phoneNumberTextBox      = new HtmlTextBoxTester(Browser, "PhoneNumber");
            _passwordTextBox         = new HtmlPasswordTester(Browser, "Password");
            _confirmPasswordTextBox  = new HtmlPasswordTester(Browser, "ConfirmPassword");
            _acceptTermsCheckBox     = new HtmlCheckBoxTester(Browser, "AcceptTerms");
            _locationTextBox         = new HtmlTextBoxTester(Browser, "Location");
            _salaryLowerBoundTextBox = new HtmlTextBoxTester(Browser, "SalaryLowerBound");
            _openToOffersRadioButton = new HtmlRadioButtonTester(Browser, "OpenToOffers");
        }
Esempio n. 8
0
        public void TestInitialize()
        {
            _contactDetailsUrl = new ReadOnlyApplicationUrl(true, "~/members/profile/contactdetails");

            _firstNameTextBox                = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox                 = new HtmlTextBoxTester(Browser, "LastName");
            _emailAddressTextBox             = new HtmlTextBoxTester(Browser, "EmailAddress");
            _secondaryEmailAddressTextBox    = new HtmlTextBoxTester(Browser, "SecondaryEmailAddress");
            _countryIdDropDownList           = new HtmlDropDownListTester(Browser, "CountryId");
            _locationTextBox                 = new HtmlTextBoxTester(Browser, "Location");
            _phoneNumberTextBox              = new HtmlTextBoxTester(Browser, "PhoneNumber");
            _mobilePrimaryRadioButton        = new HtmlRadioButtonTester(Browser, "Mobile");
            _homePrimaryRadioButton          = new HtmlRadioButtonTester(Browser, "Home");
            _workPrimaryRadioButton          = new HtmlRadioButtonTester(Browser, "Work");
            _secondaryPhoneNumberTextBox     = new HtmlTextBoxTester(Browser, "SecondaryPhoneNumber");
            _mobileSecondaryRadioButton      = new HtmlRadioButtonTester(Browser, "SecondaryMobile");
            _homeSecondaryRadioButton        = new HtmlRadioButtonTester(Browser, "SecondaryHome");
            _workSecondaryRadioButton        = new HtmlRadioButtonTester(Browser, "SecondaryWork");
            _citizenshipTextBox              = new HtmlTextBoxTester(Browser, "Citizenship");
            _citizenRadioButton              = new HtmlRadioButtonTester(Browser, "Citizen");
            _unrestrictedWorkViasRadioButton = new HtmlRadioButtonTester(Browser, "UnrestrictedWorkVisa");
            _restrictedWorkVisaRadioButton   = new HtmlRadioButtonTester(Browser, "RestrictedWorkVisa");
            _noWorkVisaRadioButton           = new HtmlRadioButtonTester(Browser, "NoWorkVisa");
            _notApplicableRadioButton        = new HtmlRadioButtonTester(Browser, "NotApplicable");
            _aboriginalCheckBox              = new HtmlCheckBoxTester(Browser, "Aboriginal");
            _torresIslanderCheckBox          = new HtmlCheckBoxTester(Browser, "TorresIslander");
            _maleRadionButton                = new HtmlRadioButtonTester(Browser, "Male");
            _femaleRadioButton               = new HtmlRadioButtonTester(Browser, "Female");
            _dateOfBirthMonthDropDownList    = new HtmlDropDownListTester(Browser, "DateOfBirthMonth");
            _dateOfBirthYearDropDownList     = new HtmlDropDownListTester(Browser, "DateOfBirthYear");
        }
 public void NewJobAdFlowTestInitialize()
 {
     _loginIdTextBox  = new HtmlTextBoxTester(Browser, "LoginId");
     _passwordTextBox = new HtmlPasswordTester(Browser, "Password");
     _loginButton     = new HtmlButtonTester(Browser, "login");
     _emailServer.ClearEmails();
 }
Esempio n. 10
0
 public AnyKeywordsTester(HttpClient browser, string aspId1, string aspId2, string aspId3)
     : base(browser, aspId1)
 {
     _anyKeywords1TextBox = new HtmlTextBoxTester(browser, aspId1);
     _anyKeywords2TextBox = new HtmlTextBoxTester(browser, aspId2);
     _anyKeywords3TextBox = new HtmlTextBoxTester(browser, aspId3);
 }
Esempio n. 11
0
 public void TestInitialize()
 {
     _creditIdDropDownList = new HtmlDropDownListTester(Browser, "CreditId");
     _quantityTextBox      = new HtmlTextBoxTester(Browser, "Quantity");
     _expiryDateTextBox    = new HtmlTextBoxTester(Browser, "ExpiryDate");
     _addButton            = new HtmlButtonTester(Browser, "add");
 }
Esempio n. 12
0
        public void TestInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();
            _emailServer.ClearEmails();

            _loginIdTextBox          = new HtmlTextBoxTester(Browser, "LoginId");
            _emailAddressTextBox     = new HtmlTextBoxTester(Browser, "EmailAddress");
            _employerRadioButton     = new HtmlRadioButtonTester(Browser, "Employer");
            _recruiterRadioButton    = new HtmlRadioButtonTester(Browser, "Recruiter");
            _firstNameTextBox        = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox         = new HtmlTextBoxTester(Browser, "LastName");
            _organisationNameTextBox = new HtmlTextBoxTester(Browser, "OrganisationName");
            _phoneNumberTextBox      = new HtmlTextBoxTester(Browser, "PhoneNumber");
            _industryIdsListBox      = new HtmlListBoxTester(Browser, "IndustryIds");
            _jobTitleTextBox         = new HtmlTextBoxTester(Browser, "JobTitle");
            _saveButton   = new HtmlButtonTester(Browser, "save");
            _cancelButton = new HtmlButtonTester(Browser, "cancel");
            _showSuggestedCandidatesCheckBox    = new HtmlCheckBoxTester(Browser, "ShowSuggestedCandidates");
            _sendSuggestedCandidatesCheckBox    = new HtmlCheckBoxTester(Browser, "SendSuggestedCandidates");
            _receiveSuggestedCandidatesCheckBox = new HtmlCheckBoxTester(Browser, "ReceiveSuggestedCandidates");
            _emailEmployerUpdateCheckBox        = new HtmlCheckBoxTester(Browser, "EmailEmployerUpdate");
            _emailCampaignCheckBox = new HtmlCheckBoxTester(Browser, "EmailCampaign");

            _settingsUrl = new ReadOnlyApplicationUrl(true, "~/employers/settings");
        }
Esempio n. 13
0
 public void WebApplyTestsInitialize()
 {
     _coverLetterTextBox  = new HtmlTextBoxTester(Browser, "CoverLetter");
     _profileRadioButton  = new HtmlRadioButtonTester(Browser, "Profile");
     _uploadedRadioButton = new HtmlRadioButtonTester(Browser, "Uploaded");
     _lastUsedRadioButton = new HtmlRadioButtonTester(Browser, "LastUsed");
 }
Esempio n. 14
0
 public void TestInitialize()
 {
     _jobTitleTextBox           = new HtmlTextBoxTester(Browser, "JobTitle");
     _companyKeywordsTextBox    = new HtmlTextBoxTester(Browser, "CompanyKeywords");
     _desiredJobTitleTextBox    = new HtmlTextBoxTester(Browser, "DesiredJobTitle");
     _anyKeywordsTextBox        = new HtmlTextBoxTester(Browser, "AnyKeywords");
     _allKeywordsTextBox        = new HtmlTextBoxTester(Browser, "AllKeywords");
     _exactPhraseTextBox        = new HtmlTextBoxTester(Browser, "ExactPhrase");
     _withoutKeywordsTextBox    = new HtmlTextBoxTester(Browser, "WithoutKeywords");
     _countryDropDownList       = new HtmlDropDownListTester(Browser, "CountryId");
     _distanceTextBox           = new HtmlTextBoxTester(Browser, "Distance");
     _locationTextBox           = new HtmlTextBoxTester(Browser, "Location");
     _includeRelocatingCheckBox = new HtmlCheckBoxTester(Browser, "IncludeRelocating");
     _industriesListBox         = new HtmlListBoxTester(Browser, "IndustryIds");
     _lowerBoundTextBox         = new HtmlTextBoxTester(Browser, "SalaryLowerBound");
     _upperBoundTextBox         = new HtmlTextBoxTester(Browser, "SalaryUpperBound");
     _availableNowCheckBox      = new HtmlCheckBoxTester(Browser, "AvailableNow");
     _activelyLookingCheckBox   = new HtmlCheckBoxTester(Browser, "ActivelyLooking");
     _openToOffersCheckBox      = new HtmlCheckBoxTester(Browser, "OpenToOffers");
     _notLookingCheckBox        = new HtmlCheckBoxTester(Browser, "NotLooking");
     _unspecifiedCheckBox       = new HtmlCheckBoxTester(Browser, "Unspecified");
     _aboriginalCheckBox        = new HtmlCheckBoxTester(Browser, "Aboriginal");
     _torresIslanderCheckBox    = new HtmlCheckBoxTester(Browser, "TorresIslander");
     _communityDropDownList     = new HtmlDropDownListTester(Browser, "CommunityId");
 }
Esempio n. 15
0
 public void RepresentativesTestsInitialize()
 {
     _txtName           = new HtmlTextBoxTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_txtName");
     _txtEmailAddress   = new HtmlTextBoxTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_txtEmailAddress");
     _btnSearch         = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_btnSearch");
     _lnkRepresentative = new HtmlLinkTester(Browser, AddBodyPrefix("FormContent_TopContent") + "_ucRepresentativeContactsList_rptContacts_ctl00_ucContactsListDetails_lnkFullName");
 }
Esempio n. 16
0
 public void TestInitialize()
 {
     _loginUrl        = new ReadOnlyApplicationUrl(true, "~/employers/login");
     _loginIdTextBox  = new HtmlTextBoxTester(Browser, "LoginId");
     _passwordTextBox = new HtmlPasswordTester(Browser, "Password");
     _loginButton     = new HtmlButtonTester(Browser, "login");
 }
Esempio n. 17
0
 public void NewOrderTestsInitialize()
 {
     _emailServer.ClearEmails();
     _useDiscountCheckBox = new HtmlCheckBoxTester(Browser, "UseDiscount");
     _couponCodeTextBox   = new HtmlTextBoxTester(Browser, "CouponCode");
     _couponIdTextBox     = new HtmlHiddenTester(Browser, "CouponId");
 }
 public void ZeroCreditsNewJobAdFlowTestInitialize()
 {
     _cardNumberTextBox           = new HtmlTextBoxTester(Browser, "CardNumber");
     _cvvTextBox                  = new HtmlTextBoxTester(Browser, "Cvv");
     _cardHolderNameTextBox       = new HtmlTextBoxTester(Browser, "CardHolderName");
     _authoriseCreditCardCheckBox = new HtmlCheckBoxTester(Browser, "authoriseCreditCard");
     _purchaseButton              = new HtmlButtonTester(Browser, "purchase");
 }
Esempio n. 19
0
        public void TestInitialize()
        {
            _emailAddressesTextBox = new HtmlTextBoxTester(Browser, "emailAddresses");
            _loginIdsTextBox       = new HtmlTextBoxTester(Browser, "loginIds");
            _sendButton            = new HtmlButtonTester(Browser, "send");

            _emailServer.ClearEmails();
        }
Esempio n. 20
0
 public void TestInitialize()
 {
     _fullNameTextBox = new HtmlTextBoxTester(Browser, "FullName");
     _accountManagerIdDropDownList    = new HtmlDropDownListTester(Browser, "AccountManagerId");
     _verifiedOrganisationsCheckBox   = new HtmlCheckBoxTester(Browser, "VerifiedOrganisations");
     _unverifiedOrganisationsCheckBox = new HtmlCheckBoxTester(Browser, "UnverifiedOrganisations");
     _searchButton = new HtmlButtonTester(Browser, "search");
 }
Esempio n. 21
0
 public void TestInitialize()
 {
     _startDateTextBox  = new HtmlTextBoxTester(Browser, "StartDate");
     _endDateTextBox    = new HtmlTextBoxTester(Browser, "EndDate");
     _downloadButton    = new HtmlButtonTester(Browser, "download");
     _downloadPdfButton = new HtmlButtonTester(Browser, "downloadpdf");
     _searchButton      = new HtmlButtonTester(Browser, "search");
 }
Esempio n. 22
0
 public void TestInitialize()
 {
     _resultsUrl          = new ReadOnlyApplicationUrl(true, "~/search/jobs/results");
     _keywordsTextBox     = new HtmlTextBoxTester(Browser, "Keywords");
     _searchButton        = new HtmlButtonTester(Browser, "SEARCH");
     _nameTextBox         = new HtmlTextBoxTester(Browser, "name");
     _createAlertCheckBox = new HtmlCheckBoxTester(Browser, "createAlert");
     _saveButton          = new HtmlButtonTester(Browser, "SAVE");
 }
Esempio n. 23
0
 public void TestInitialize()
 {
     _includeChildOrganisationsCheckBox = new HtmlCheckBoxTester(Browser, "IncludeChildOrganisations");
     _includeDisabledUsersCheckBox      = new HtmlCheckBoxTester(Browser, "IncludeDisabledUsers");
     _promoCodeTextBox             = new HtmlTextBoxTester(Browser, "PromoCode");
     _sendToAccountManagerCheckBox = new HtmlCheckBoxTester(Browser, "SendToAccountManager");
     _sendToClientCheckBox         = new HtmlCheckBoxTester(Browser, "SendToClient");
     _saveButton = new HtmlButtonTester(Browser, "save");
 }
Esempio n. 24
0
        public void TestInitialize()
        {
            ClearSearchIndexes();

            _searchUrl = new ReadOnlyApplicationUrl(true, "~/search/candidates");

            _keywordsTextBox = new HtmlTextBoxTester(Browser, "Keywords");
            _searchButton    = new HtmlButtonTester(Browser, "search");
        }
 public void TestInitialize()
 {
     _employersCheckBox               = new HtmlCheckBoxTester(Browser, "Employers");
     _recruitersCheckBox              = new HtmlCheckBoxTester(Browser, "Recruiters");
     _verifiedOrganisationsCheckBox   = new HtmlCheckBoxTester(Browser, "VerifiedOrganisations");
     _unverifiedOrganisationsCheckBox = new HtmlCheckBoxTester(Browser, "UnverifiedOrganisations");
     _industriesListBox               = new HtmlListBoxTester(Browser, "IndustryIds");
     _minimumLoginsTextBox            = new HtmlTextBoxTester(Browser, "MinimumLogins");
     _maximumLoginsTextBox            = new HtmlTextBoxTester(Browser, "MaximumLogins");
 }
Esempio n. 26
0
        public void TestInitialize()
        {
            Resolve <IDbConnectionFactory>().DeleteAllTestData();

            _searchButton = new HtmlButtonTester(Browser, "search");

            _firstNameTextBox    = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox     = new HtmlTextBoxTester(Browser, "LastName");
            _emailAddressTextBox = new HtmlTextBoxTester(Browser, "EmailAddress");
            _countDropDownList   = new HtmlDropDownListTester(Browser, "Count");
        }
Esempio n. 27
0
        protected void SubmitSidebarLogInForm(string userId, string password)
        {
            var txtUserId   = new HtmlTextBoxTester(Browser, AddBodyPrefix("ucSidebarContainer_ctl01") + "_ucLogin_txtUserId");
            var txtPassword = new HtmlTextBoxTester(Browser, AddBodyPrefix("ucSidebarContainer_ctl01") + "_ucLogin_txtPassword");
            var btnLogin    = new HtmlButtonTester(Browser, AddBodyPrefix("ucSidebarContainer_ctl01") + "_ucLogin_btnLogin");

            txtUserId.Text   = userId;
            txtPassword.Text = password;

            btnLogin.Click();
        }
Esempio n. 28
0
        public void TestInitialize()
        {
            _subjectTextBox = new HtmlTextBoxTester(Browser, "Subject");
            _bodyTextArea   = new HtmlTextAreaTester(Browser, "Body");

            _emailAddressesTextBox = new HtmlTextBoxTester(Browser, "emailAddresses");
            _loginIdsTextBox       = new HtmlTextBoxTester(Browser, "loginIds");
            _sendButton            = new HtmlButtonTester(Browser, "send");

            _emailServer.ClearEmails();
        }
Esempio n. 29
0
 public void TestInitialize()
 {
     _settingsEmailAddressTextBox         = new HtmlTextBoxTester(Browser, "EmailAddress");
     _settingsFirstNameTextBox            = new HtmlTextBoxTester(Browser, "FirstName");
     _settingsLastNameTextBox             = new HtmlTextBoxTester(Browser, "LastName");
     _settingsSaveButton                  = new HtmlButtonTester(Browser, "save");
     _profileFirstNameTextBox             = new HtmlTextBoxTester(Browser, "FirstName");
     _profileLastNameTextBox              = new HtmlTextBoxTester(Browser, "LastName");
     _profileEmailAddressTextBox          = new HtmlTextBoxTester(Browser, "EmailAddress");
     _profileSecondaryEmailAddressTextBox = new HtmlTextBoxTester(Browser, "SecondaryEmailAddress");
 }
Esempio n. 30
0
        public void TestInitialize()
        {
            _loginIdTextBox      = new HtmlTextBoxTester(Browser, "LoginId");
            _emailAddressTextBox = new HtmlTextBoxTester(Browser, "EmailAddress");
            _firstNameTextBox    = new HtmlTextBoxTester(Browser, "FirstName");
            _lastNameTextBox     = new HtmlTextBoxTester(Browser, "LastName");
            _passwordTextBox     = new HtmlPasswordTester(Browser, "Password");

            _createButton = new HtmlButtonTester(Browser, "create");
            _cancelButton = new HtmlButtonTester(Browser, "cancel");
        }