def test_30(self): try: change_password(self, login, password, password, password, 'same') except: self.driver.switch_to.context('NATIVE_APP') directory = '%s/screenshots/' % os.getcwd() file_name = 'test_30.png' self.driver.save_screenshot(directory + file_name) raise finally: passw_sql(login)
def test_27(self): try: change_password(self, login, password, constants.new_pass, constants.conf_pass + '4', 'different') except: self.driver.switch_to.context('NATIVE_APP') directory = '%s/screenshots/' % os.getcwd() file_name = 'test_27.png' self.driver.save_screenshot(directory + file_name) raise finally: passw_sql(login)
def test_26(self): change_password(self, login, password, '', '', 'empty')