public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); _communicationsSaveButton = new HtmlButtonTester(Browser, "CommunicationsSave"); _communicationsCancelButton = new HtmlButtonTester(Browser, "CommunicationsCancel"); }
public void NewJobAdFlowTestInitialize() { _loginIdTextBox = new HtmlTextBoxTester(Browser, "LoginId"); _passwordTextBox = new HtmlPasswordTester(Browser, "Password"); _loginButton = new HtmlButtonTester(Browser, "login"); _emailServer.ClearEmails(); }
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"); }
protected override void SetUp() { base.SetUp(); button = new HtmlButtonTester("button"); formVars = new DataGridTester("formVars", CurrentWebForm); Browser.GetPage(BaseUrl + "HtmlTester/HtmlButtonTestPage.aspx"); }
public void TestInitialize() { _creditIdDropDownList = new HtmlDropDownListTester(Browser, "CreditId"); _quantityTextBox = new HtmlTextBoxTester(Browser, "Quantity"); _expiryDateTextBox = new HtmlTextBoxTester(Browser, "ExpiryDate"); _addButton = new HtmlButtonTester(Browser, "add"); }
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"); }
public void TestInitialize() { _host = new WebServiceHost(typeof(EmailStatusService), new Uri(EmailStatusUrl)); _host.Description.Behaviors.Add(new UnityServiceBehavior(Container.Current)); _host.Open(); _adminMembersUrl = new ReadOnlyApplicationUrl(true, "~/administrators/members"); _notActivatedUrl = new ReadOnlyApplicationUrl(true, "~/accounts/notactivated"); _activationSentUrl = new ReadOnlyApplicationUrl(true, "~/accounts/activationsent"); _activationUrl = new ReadOnlyApplicationUrl("~/accounts/activation"); _notVerifiedUrl = new ReadOnlyApplicationUrl(true, "~/accounts/notverified"); _verificationSentUrl = new ReadOnlyApplicationUrl(true, "~/accounts/verificationsent"); _verificationUrl = new ReadOnlyApplicationUrl("~/accounts/verification"); _visibilityUrl = new ReadOnlyApplicationUrl(true, "~/members/profile/api/visibility"); _contactDetailsUrl = new ReadOnlyApplicationUrl(true, "~/members/profile/api/contactdetails"); _enableButton = new HtmlButtonTester(Browser, "enable"); _disableButton = new HtmlButtonTester(Browser, "disable"); _deactivateButton = new HtmlButtonTester(Browser, "deactivate"); _resendActivationEmailButton = new HtmlButtonTester(Browser, "ResendActivationEmail"); _resendVerificationEmailButton = new HtmlButtonTester(Browser, "ResendVerificationEmail"); _emailServer.ClearEmails(); }
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"); }
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"); }
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"); }
public void TestInitialize() { _loginUrl = new ReadOnlyApplicationUrl(true, "~/employers/login"); _loginIdTextBox = new HtmlTextBoxTester(Browser, "LoginId"); _passwordTextBox = new HtmlPasswordTester(Browser, "Password"); _loginButton = new HtmlButtonTester(Browser, "login"); }
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"); }
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"); }
public void TestInitialize() { _emailAddressesTextBox = new HtmlTextBoxTester(Browser, "emailAddresses"); _loginIdsTextBox = new HtmlTextBoxTester(Browser, "loginIds"); _sendButton = new HtmlButtonTester(Browser, "send"); _emailServer.ClearEmails(); }
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"); }
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"); }
public void TestInitialize() { _emailServer.ClearEmails(); _employerUpdateCheckBox = new HtmlCheckBoxTester(Browser, "EmployerUpdate"); _campaignCheckBox = new HtmlCheckBoxTester(Browser, "Campaign"); _saveButton = new HtmlButtonTester(Browser, "save"); }
public void TestInitialize() { ClearSearchIndexes(); _searchUrl = new ReadOnlyApplicationUrl(true, "~/search/candidates"); _keywordsTextBox = new HtmlTextBoxTester(Browser, "Keywords"); _searchButton = new HtmlButtonTester(Browser, "search"); }
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"); }
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"); }
public void StatusTestInitialize() { _updateStatusUrl = new ReadOnlyApplicationUrl(true, "~/members/profile/status/update"); _availableNowRadioButton = new HtmlRadioButtonTester(Browser, "AvailableNow"); _activelyLookingRadioButton = new HtmlRadioButtonTester(Browser, "ActivelyLooking"); _openToOffersRadioButton = new HtmlRadioButtonTester(Browser, "OpenToOffers"); _notLookingRadioButton = new HtmlRadioButtonTester(Browser, "NotLooking"); _saveButton = new HtmlButtonTester(Browser, "save"); }
public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); _emailServer.ClearEmails(); _btnAcceptFriend = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_ucReceivedNetworkInvitationList_rptInvitations_ctl00_btnAccept"); _btnIgnoreFriend = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_ucReceivedNetworkInvitationList_rptInvitations_ctl00_btnIgnore"); _btnAcceptRepresentative = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_ucReceivedNetworkInvitationList_rptRepresentativeInvitations_ctl00_btnRepresentativeAccept"); _btnIgnoreRepresentative = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_LeftContent") + "_ucReceivedNetworkInvitationList_rptRepresentativeInvitations_ctl00_btnRepresentativeIgnore"); }
public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); ClearSearchIndexes(); _communityCheckBox = new HtmlCheckBoxTester(Browser, "ctl00_ctl00_ctl00_Body_FormContent_Content_ucEmployerPrivacy_chkCommunity", false); _saveButton = new HtmlButtonTester(Browser, "ctl00_ctl00_ctl00_Body_FormContent_Content_btnSave"); _searchUrl = new ReadOnlyApplicationUrl("~/search/candidates"); }
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(); }
public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); _employerRadioButton = new HtmlRadioButtonTester(Browser, "Employer"); _commentsTextBox = new HtmlTextAreaTester(Browser, "Comments"); _deactivateButton = new HtmlButtonTester(Browser, "deactivate"); _cancelButton = new HtmlButtonTester(Browser, "cancel"); _notActivatedUrl = new ReadOnlyApplicationUrl(true, "~/accounts/notactivated"); }
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"); }
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"); }
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(); }
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"); }
public void TestInitialize() { _unsubscribeButton = new HtmlButtonTester(Browser, "Unsubscribe"); _settingsUrl = new ReadOnlyApplicationUrl(true, "~/members/settings"); _savedUrl = new ReadOnlyApplicationUrl(true, "~/members/searches/saved"); _baseJobUrl = new ReadOnlyApplicationUrl(true, "~/jobs/"); _contactUsUrl = new ReadOnlyApplicationUrl("~/faqs/setting-up-your-profile/09d11385-0213-4157-a5a9-1b2a74e6887e"); JobAdSearchHost.ClearIndex(); }