class PythonOrgSearch(unittest.TestCase): def setUp(self): self.driver = LoadDriver().loadAppiumDriver() self.driver.get("http://tst.env.gociety.com") def test_search_in_python_org(self): log = LoginPageL(self.driver) #log._getusername().send_keys("aaa") #lp= LoginPage(self.driver) # lp.login_as("*****@*****.**","tajne123") # log._getpassword_area().send_keys("bbb") log.login("aa", "aaa") def tearDown(self): self.driver.close()
class PythonOrgSearch(unittest.TestCase): def setUp(self): self.driver = LoadDriver().loadAppiumDriver() self.driver.get("http://tst.env.gociety.com") def test_search_in_python_org(self): log=LoginPageL(self.driver) #log._getusername().send_keys("aaa") #lp= LoginPage(self.driver) # lp.login_as("*****@*****.**","tajne123") # log._getpassword_area().send_keys("bbb") log.login("aa","aaa") def tearDown(self): self.driver.close()
def setUp(self): "Setup for the test" """ load driver from LoadDriver class""" self.driver = LoadDriver.loadAppiumDriver()
def setUp(self): self.driver = LoadDriver().loadAppiumDriver() self.driver.get("http://tst.env.gociety.com")