public void TC_VerifyFinancialWellBeing()
        {
            Common          cm         = new Common();
            List <string[]> fwbenabled = cm.GetConfig("FinancialWellBeing");

            if (fwbenabled.ElementAt(0)[1].ToLower().Equals("false"))
            {
                Assert.Ignore("Feature is not available for client");
            }
            else
            {
                Page_Login plogin = new Page_Login();
                plogin.Login();
                Page_HAPrompt haprompt = new Page_HAPrompt();
                haprompt.GoToDashboard();
                Common cmn = new Common();
                cmn.ClickFinancialWellBeingMenu();
                Page_FinancialWellBeing fwb = new Page_FinancialWellBeing(softassertions);
                fwb.VerifyFinancialWellBeingData(GlobalVariables.clientname);
                is_soft_assert = true;
                softassertions.AssertAll();
                Common logout = new Common();
                logout.LogOut();
            }
        }
예제 #2
0
        public void TC_VerifyFinancialWellBeingContent()
        {
            SeleniumKeywords.RefreshPage();
            System.Threading.Thread.Sleep(3000);

            if ((clientname.Equals("group 44")))
            {
                Assert.Ignore("Feature is not available for client");
            }

            Common cmn = new Common();

            cmn.ClickFinancialWellBeingMenu();
            Page_FinancialWellBeing fwb = new Page_FinancialWellBeing(softassertions);

            fwb.VerifyFinancialWellBeingData(clientname);
            is_soft_assert = true;
            softassertions.AssertAll();
        }