public void Recognition_DistributionList_WS_1024() { if (!DataParser.ReturnExecution("WS_1024")) { Assert.Ignore(); } else { _file = "Resources\\" + client + "\\TestsData\\WS_1024.xml"; string user = AwardData.GetAwardUserName(_file), msg = AwardData.GetAwardMessage(_file), award = AwardData.GetAwardName(_file), subAward1 = AwardData.GetAwardSubType1(_file), subAward2 = AwardData.GetAwardSubType2(_file), ccEmail = AwardData.GetAwardCCEmail(_file), futureDate = AwardData.GetAwardFutureDate(_file); NominationHomePage recognitionPage = InitialPage.GoSpecial(_file) .Logon() .EnterId(client) .ClickLogin() .NavigateToNominationSprint(); recognitionPage .SelectRecipientType("multiple") .SearchEmployeeFoundMultiple(user) .ClickNextStep2() .SelectAwardMultiple(award, 0) .SelectSubAwardTypeSprint(subAward1, subAward2) .ClickNextFillCard() .FillEditCardEditor(msg) .ClickNextStep() .EnterUserCCEmail(ccEmail).EnterFutureDate(futureDate).ClickNextGeneric(); Assert.AreEqual("Ready to send?", recognitionPage.GetReadyToSendMsg(), "The message is not ready to send"); Assert.AreEqual("SEND RECOGNITION", recognitionPage.GetBtnSendRecognition(), "Submit button is not well written"); recognitionPage.ClickSendRecognition(); Assert.AreEqual("Success!", recognitionPage.GetSuccesMsg(), "Message its not success"); Assert.AreEqual("FINISH", recognitionPage.GetBtnFinishLabel(), "Button finish its not correct write"); Assert.AreEqual("RECOGNIZE SOMEONE ELSE", recognitionPage.GetBtnRecognizOtherLabelSprint(), "Button finish its not correct write"); Assert.Fail("Missing steps DUE to bug, ticket name SPRIN-91"); } }