def test_home_icon(self): home = Home(self.driver) home.click_on_blocks_click_on_home_icon() result = home.click_HomeButton() if "Student Attendance Report" in result: print("This is Student Attendance Report page") else: raise self.failureException('Home Icon is not working')
def test_home_icon(self): home = Home(self.driver) home.click_on_blocks_click_on_home_icon() result = home.click_HomeButton() if "student-attendance" in result: print("Home Icon is Working") else: raise self.failureException('Home Icon is not working')
def test_home_icon(self): self.tests.pop() self.logger.info("test_home_icon is running"+" "+"Total :"+" "+ str(self.total_tests) +" "+"Remaining :"+" " + str(len(self.tests)-1)) home = Home(self.driver) home.click_on_blocks_click_on_home_icon() result = home.click_HomeButton() if "Student Attendance Report" in result: print("Home Icon is Working") else: raise self.failureException('Home Icon is not working') self.logger.info("test_home_icon is completed...")