Exemplo n.º 1
0
        public void T004_Login_004_UserLoginWithPaidUser()
        {
            if (!IsTcAdded)
            {
                Report.AddToHtmlReportTCHeader("Login Test Cases");
                IsTcAdded = true;
            }

            Report.AddToHtmlReport("TEAC_1004 : To Verify User can Login with Valid Credentials of Paid User.", true, false, true);

            Report.AddToHtmlReport("STEP 1: Insert Url in Browser Addressbar.", false, true);

            driver = Browser.OpenWithSelectedBrowser(driver, ProjectUrl, true);

            Framework.PageObjects.LoginObjects objLoginObjects = new Framework.PageObjects.LoginObjects();

            driver = objLoginObjects.T004_Login_004_UserLoginWithPaidUser(driver);

            if (Convert.ToInt16(ConfigurationSettings.AppSettings.Get("CloseBrowser")) == 1)
            {
                Browser.CloseBrowser(driver);
            }
        }
Exemplo n.º 2
0
        public void T003_Login_003_VerifyRecentlyViewedFunctionality()
        {
            if (!IsTcAdded)
            {
                Report.AddToHtmlReportTCHeader("Login Test Cases");
                IsTcAdded = true;
            }

            Report.AddToHtmlReport("TEAC_1003 : To Verify Recently Viewed Functionality.", true, false, true);

            Report.AddToHtmlReport("STEP 1: Insert Url in Browser Addressbar.", false, true);

            driver = Browser.OpenWithSelectedBrowser(driver, ProjectUrl, true);

            Framework.PageObjects.LoginObjects objLoginObjects = new Framework.PageObjects.LoginObjects();

            driver = objLoginObjects.T003_Login_003_VerifyRecentlyViewedFunctionality(driver);

            if (Convert.ToInt16(ConfigurationSettings.AppSettings.Get("CloseBrowser")) == 1)
            {
                Browser.CloseBrowser(driver);
            }
        }