コード例 #1
0
        public void TC_VerifyfooterLinksPresent()
        {
            //Page_Login plogin = new Page_Login();
            //plogin.Login();

            //Page_HAPrompt haprompt = new Page_HAPrompt();
            //haprompt.GoToDashboard();

            Page_Dashboard  footer         = new Page_Dashboard(softassertions);
            List <string[]> FooterElements = CSVReaderDataTable.GetCSVData("DashboardData", pageName, "commonfooterlink", "Common");

            footer.CommonFooterLinksDisplayed(FooterElements);
            //footer.
            List <string[]> clientFooterElements = CSVReaderDataTable.GetCSVData("DashboardData", pageName, "footerlink", GlobalVariables.clientname);

            footer.CommonFooterLinksDisplayed(FooterElements);
            footer.ClientFooterLinksDisplayed(clientFooterElements);
            is_soft_assert = true;
            softassertions.AssertAll();
            //Common logout = new Common();
            //logout.LogOut();
        }