예제 #1
0
 def verify_designer_page(self):
     print("start verify Designer page after login successfully")
     if designer_console_page().load_designer_page(self.driver):
         print("Designer page is loaded successfully")
     else:
         print("verify ed Designer page failed")
         raise AssertionError("Designer Page is not loaded")
예제 #2
0
 def switch_tab(self):
     #NOT use now
     designer_console_page().switch_tab(self.driver)
예제 #3
0
 def navigate_to_AdminConsole(self):
     designer_console_page().navigate_to_AdminConsole(self.driver)
예제 #4
0
 def validate_and_deploy_wf(self, wfname):
     print("start validate and deploy wf")
     designer_console_page().validate_wfd(self.driver)
     designer_console_page().deploy_wfd(self.driver, wfname)
예제 #5
0
 def save_as_wf(self):
     print("satrt save as workflow")
     designer_console_page().save_as_wfd(self.driver)
예제 #6
0
 def save_wf(self, wfname, ruleset_name):
     print("satrt save workflow")
     designer_console_page().input_ruleset_IFTTT_task(
         self.driver, ruleset_name)
     designer_console_page().save_wfd(self.driver, wfname)
예제 #7
0
 def import_wf(self, locator, wfname):
     print("start import wf")
     designer_console_page().import_wfd(self.driver, locator, wfname)
예제 #8
0
 def login_designer_page(self, designer_userName, designer_password):
     designer_console_page().input_designer_username(
         self.driver, designer_userName)
     designer_console_page().input_designer_password(
         self.driver, designer_password)
     designer_console_page().click_logon_button(self.driver)
예제 #9
0
 def verify_login_designer_page(self):
     print("start verify designer login page")
     if designer_console_page().load_login_designer_page(self.driver):
         print("Designer login page is loaded successfully")
     else:
         raise AssertionError("Designer Login page is not loaded")