コード例 #1
0
        public void StudentSelectClassFromTheClassSelectorDropdown(Class.ClassTypeEnum classTypeEnum)
        {
            Logger.LogMethodEntry("Overview", "StudentSelectClassFromTheClassSelectorDropdown", base.IsTakeScreenShotDuringEntryExit);
            //Get The Class Name Stored In Memory
            Class            orgClass         = Class.Get(classTypeEnum);
            string           className        = orgClass.Name.ToString();
            TodaysViewUxPage todaysViewUxPage = new TodaysViewUxPage();

            // Select class
            todaysViewUxPage.StudentSelectClass(className);
            Logger.LogMethodExit("Overview", "StudentSelectClassFromTheClassSelectorDropdown", base.IsTakeScreenShotDuringEntryExit);
        }
コード例 #2
0
        public void VerifyTheChannelTitleText(string expectedFrameTitle)
        {
            //Verify Correct Frame Title
            Logger.LogMethodEntry("TodaysView", "VerifyTheChannelTitleText",
                                  base.IsTakeScreenShotDuringEntryExit);
            // Object Declaration
            TodaysViewUxPage ChannelTitle = new TodaysViewUxPage();

            //Assert we have correct Channel frame title
            Logger.LogAssertion("VerifyChannelTitle",
                                ScenarioContext.Current.ScenarioInfo.Title,
                                () => Assert.AreEqual(expectedFrameTitle, ChannelTitle.GetChannelTitle()));
            Logger.LogMethodExit("TodaysView", "VerifyTheChannelTitleText",
                                 base.IsTakeScreenShotDuringEntryExit);
        }
コード例 #3
0
        public void VerifyTheGettingStartedContentText(string gettingStartedContent)
        {
            //Verify Correct Contents inside the Getting Started
            Logger.LogMethodEntry("TodaysView", "GettingStartedContent",
                                  base.IsTakeScreenShotDuringEntryExit);
            // Object Declaration
            TodaysViewUxPage ChannelContents = new TodaysViewUxPage();

            //Assert we have correct Contents of Getting Started
            Logger.LogAssertion("VerifyChannelContentText",
                                ScenarioContext.Current.ScenarioInfo.Title,
                                () => Assert.AreEqual(gettingStartedContent,
                                                      ChannelContents.GettingStartedContentText()));
            Logger.LogMethodExit("TodaysView", "VerifyTheGettingStartedContentText",
                                 base.IsTakeScreenShotDuringEntryExit);
        }