def step_impl(context, username, password): login = Login(context.driver) login.UserName(username) login.Password(password) login.LoginButton()
def test_login(self): driver=self.driver lp=Login(driver) lp.UserName()