driver= new FirefoxDriver(); driver.navigate().to("http://google.com"); Assert.assertEquals("Gooooogle", driver.getTitle()); } @Test public void testCaseVerifyHomePage() { driver= new FirefoxDriver(); driver.navigate().to("http://google.com"); Assert.assertEquals("Gooogle", driver.getTitle(), "Strings are n ot matching"); //Write a code to login and write a method called isUserLoggedIn Successfully and isUserLoggedOut which returns boolean. Assert.assertTrue(isUserLoggedInSuccessfully(), "User failed to login"); Assert.assertFalse(isUserLoggedOut()) } }