def test_ND00409_1(self):
        driver = self.driver
        self.assertTrue(login.login(driver, users.root, users.password))

        driver.find_element_by_tag_name("html").click()
        
        testFolder = "http://google.com"

        driver.get(testFolder)
        
        driver.find_element_by_tag_name("html").click()

        login.logout(driver)
Exemple #2
0
    def test_HomePage(self):
        driver = self.driver
        self.assertTrue(login.login(driver, "bvandemerwea", users.password))

        driver.get(urls.home)
        
        a = driver.find_element_by_link_text("Customize Layout")
        a.click()
                
        time.sleep(2)
        a = driver.find_element_by_link_text("Cancel")
        a.click()
                
        self.assertTrue(login.logout(driver))
Exemple #3
0
 def test_LoginLogout(self):
     driver = self.driver
     self.assertTrue(login.login(driver, users.root, users.password))
     self.assertTrue(login.logout(driver))
 def test_Template(self): #Change
     driver = self.driver
     self.assertTrue(login.login(driver, users.root, users.password))
     self.assertTrue(login.logout(driver))