public void Loginwithoutdetails()
        {
            utilities.ConsoleMessageStart();
            utilities.extenttest = utilities.extent.StartTest("Login Without Details");
            utilities.extenttest.AssignCategory("Login and Logout Tests");
            login.NavigateTo();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(2000);
            login.Loginwithoutdetails();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(2000);
            IWebElement fielderror1 = driver.FindElement(By.XPath("/html/body/div/section/form/div/div[2]/div/div/span[2]/span"));
            IWebElement fielderror2 = driver.FindElement(By.XPath("/html/body/div/section/form/div/div[3]/div/div/span[2]/span"));

            Assert.IsTrue(fielderror1.Text.Equals("Please enter username") && fielderror2.Text.Equals("Please enter password"));
            utilities.extenttest.Log(LogStatus.Pass, "Assert pass ");
        }