Example #1
0
        public void TC_SendMessage()
        {
            Page_AndroidMessageToCoach mtc = new Page_AndroidMessageToCoach();

            mtc.TapToSendMessage();
            mtc.InputText();
            //Thread.Sleep(2000);
            mtc.SendTextToCoach();
            Assert.AreEqual("Hi Coach", mtc.GetText());
        }
Example #2
0
        public void TC_VerifyMessageToCoachScreen()
        {
            Page_AndroidMessageToCoach mtc = new Page_AndroidMessageToCoach(softassertions);

            mtc.NavigateToMessageToCoach();
            Thread.Sleep(5000);
            List <string[]> messagetocoachui = new List <string[]>();

            messagetocoachui = CSVReaderDataTable.GetCSVData("MobileMessageToCoachData", pageName, "uielements");
            //Page_AndroidMessageToCoach messagecoach = new Page_AndroidMessageToCoach(softassertions);
            mtc.VerifyMessageToCoachScreen(messagetocoachui);
            softassertions.AssertAll();
        }