Exemple #1
0
 def custom_tearDown(self):
     # LoginPage().loginSu()
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     accountMainPage.modifyAccount(self.data.get('user_re'))
     accountMainPage.search(self.data.get('user_re').get('accountUsername'))
     return accountMainPage.checkupTableData(self.data.get('user_re'))
 def custom_step(self):
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     row = {'accountUsername': self.data.get('userData').get('accountUsername')}
     accountMainPage.ableRow(row)
     accountMainPage.search(row.get('accountUsername'))
     return accountMainPage.checkupTableData(self.data.get('userData'))
 def custom_step(self):
     LoginPage().login_data(self.data.get('login'))
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     accountMainPage.createAccount(self.data.get('userData'))
     accountMainPage.search(self.data.get('userData').get('accountUsername'))
     return accountMainPage.checkupTableData(self.data.get('userData'))
 def custom_tearDown(self):
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     accountMainPage.modifyAccount(self.data.get('recovery_userData'))
     accountMainPage.search(
         self.data.get('recovery_userData').get('accountUsername'))
     return accountMainPage.checkupTableData(
         self.data.get('recovery_userData'))
Exemple #5
0
 def custom_setUp(self):
     LoginPage().login_data(self.data.get('login'))
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     row = {'accountUsername': self.data.get('query_userData').get('accountUsername')}
     accountMainPage.search(row.get('accountUsername'))
     if not accountMainPage.checkupTableData(row):
         accountMainPage.createAccount(self.data.get('create_userData'))
Exemple #6
0
 def custom_setUp(self):
     LoginPage().login_data(self.data.get('login'))
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     accountMainPage.search(self.data.get('create_userData').get('accountUsername'))
     if accountMainPage.checkupTableData({'accountUsername': self.data.get('create_userData').get('accountUsername')}):
         pass
     else:
         accountMainPage.createAccount(self.data.get('create_userData'))
 def custom_tearDown(self):
     accountMainPage = AccountMainPage()
     accountMainPage.enterFunction()
     row = {
         'accountUsername':
         self.data.get('disable_userData').get('accountUsername')
     }
     accountMainPage.search(row.get('accountUsername'))
     if accountMainPage.checkupTableData(self.data.get('disable_userData')):
         accountMainPage.ableRow(row)