public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); ClearSearchIndexes(); _keywordsTextBox = new HtmlTextBoxTester(Browser, "Keywords"); _searchButton = new HtmlButtonTester(Browser, "search"); _lbCreateAlert = new HtmlLinkButtonTester(Browser, "ctl00_ctl00_Body_FormContent_savedResumeSearchesControl_rptSavedResumeSearches_ctl01_lbCreateAlert"); _lbRemove = new HtmlLinkButtonTester(Browser, "ctl00_ctl00_Body_FormContent_savedResumeSearchesControl_rptSavedResumeSearches_ctl01_lbRemove"); //_removeSavedSearchAlert = new LinkButtonTester("SavedResumeSearchAlertsRepeater_ctl00_removeSavedSearchAlert", CurrentPageFormContent); _lbExecute = new HtmlLinkButtonTester(Browser, "ctl00_ctl00_Body_FormContent_savedResumeSearchesControl_rptSavedResumeSearches_ctl01_lbExecute"); }
public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); _txtEmailAddresses = new HtmlTextAreaTester(Browser, AddBodyPrefix("FormContent_Content") + "_ucInviteFriends_txtEmailAddresses"); _btnSendInvitations = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_Content") + "_btnSendInvitations"); _lnkAcceptInvitation = new HtmlLinkButtonTester(Browser, AddBodyPrefix("FormContent_Content") + "_lnkAcceptInvitation"); _lnkIgnoreInvitation = new HtmlLinkButtonTester(Browser, AddBodyPrefix("FormContent_Content") + "_lnkIgnoreInvitation"); _lnkRemoveFriend = new HtmlLinkTester(Browser, "lnkRemoveFriend"); _lnkViewResume = new HtmlLinkTester(Browser, AddBodyPrefix("FormContent_Content") + "_ahrefViewResume"); _lnkRemoveRepresentative = new HtmlLinkTester(Browser, "lnkRemoveRepresentative"); _btnRemoveRepresentative = new HtmlButtonTester(Browser, AddBodyPrefix("FormContent_Content") + "_btnRemoveRepresentative"); }
public void TestInitialize() { Resolve <IDbConnectionFactory>().DeleteAllTestData(); _lbExecuteAd = new HtmlLinkButtonTester(Browser, "ctl00_ctl00_Body_FormContent_employerJobAdsControl_AdsRepeater_ctl00_lbExecuteAd"); }