def test_HomePage(self):
     driver = self.driver
     driver.get(Utils.URL)
     homeObj = HomePage(driver)
     homeObj.NavigateToOthers()
     snapObj = snapshot(driver)
     snapObj.screenshot()
        def test_01HomePage(self):
            driver = self.driver
            self.driver.get(URL)

            homeObj = HomePage(driver)
            title = homeObj.verifyHomePageLoad()
            assert title == True
            ss = SeleniumDriver(self.driver)
            ss.screenShot(Utils.whoami(), time, ss_path)
            homeObj.NavigateToOthers()
            ss = SeleniumDriver(self.driver)
            ss.screenShot(Utils.whoami(), time, ss_path)
    def test_01HomePage(self):
        driver = self.driver

        homeObj = HomePage(driver)
        homeObj.NavigateToOthers()
        ss = SS(driver)
        time = moment.now().strftime("%H-%M-%S_%d-%m-%Y")
        testName = Utils.whoami()
        ScreenShotName = testName + time
        ss.screenshot(ss_path + ScreenShotName + ".png")
        allure.attach(self.driver.get_screenshot_as_png(),
                      name=ScreenShotName,
                      attachment_type=allure.attachment_type.PNG)