Esempio n. 1
0
        public void RegistrationWithInvallidData()
        {
            if (!IsTcAdded)
            {
                Report.AddToHtmlReportTCHeader("Register Test Cases");
                IsTcAdded = true;
            }

            Report.AddToHtmlReport("TC_002: To veriy user is not able to register with invalid details.", true, false, true);

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

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

            RegisterObjects objHome = new RegisterObjects();

            driver = objHome.RegistrationWithInvallidData(driver);

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