def test10_WATLogin(self): SigninInPage_obj = WATLogin(self.driver) self.assertEquals(SigninInPage_obj.signin_page_title(), Key.sHomePageTitle) #Verify title in the login page #Login to the WAT SigninInPage_obj.login_to_wat() time.sleep(2) WATTitlePage = WATHomePage(self.driver) self.assertEquals(WATTitlePage.homepage_page_title(), Key.sHomePageTitle) #Verify WAT homepage title
def login_to_the_WAT(self): SigninInPage_obj = WATLogin(self.driver) SigninInPage_obj.login_to_wat() time.sleep(2)