コード例 #1
0
 def my_workflows(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//span[@class="cf_sectiontitle"][contains(text(), "My Workflows")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
コード例 #2
0
 def calendar(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//a[@id="lnkCFlowCalenderNavi"]/span[contains(text(), "Calendar")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
コード例 #3
0
 def dashboard_designer(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//a[@id="lnkDashboardConfigNavi"]/span[contains(text(), "Dashboard Designer")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
コード例 #4
0
 def notifications(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//span[@class="cf_sectiontitle"][contains(text(), "Notifications")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
コード例 #5
0
 def username_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#txtUserName')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #6
0
 def client_id_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#txtClientID')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #7
0
 def logout(self):
     locator = Locator(
         by=By.XPATH, value='//a[@class="icon_text_gap_a FnLogout"]/span')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #8
0
 def profile_options_dropdown(self):
     locator = Locator(
         by=By.XPATH, value='//a[@class="icon_gap_a dropdown-toggle"]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #9
0
 def signup_link(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#sig-btn')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #10
0
 def add_lookup(self):
     locator = Locator(by=By.XPATH, value='')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #11
0
 def add_workflow(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//span[@class="cf_navicontxt"][contains(text(), "Add Workflow")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #12
0
 def history(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkHistoryNavi"]/span[contains(text(), "History")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
コード例 #13
0
 def admin(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//a[@id="lnkControlCenterNavi"]/span[contains(text(), "Admin")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #14
0
 def reports(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkReportNavi"]/span[contains(text(), "Reports")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #15
0
 def password_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#txtPassword')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #16
0
 def login_button(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@class="login-btn"][contains(text(), "Login")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #17
0
 def support(self):
     locator = Locator(by=By.XPATH, value='')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #18
0
 def signup_email_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='input#txtEmail')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #19
0
 def check_box(self):
     locator = Locator(
         by=By.XPATH, value='//label[contains(text(), "I Agree")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #20
0
 def help_icon(self):
     locator = Locator(by=By.CSS_SELECTOR, value='i.icon-help-circle')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #21
0
 def start_free_trial_button(self):
     locator = Locator(
         by=By.XPATH, value='//a[@class="login-btn"][contains(text(), "Start Free Trial")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #22
0
 def profile(self):
     locator = Locator(
         by=By.XPATH, value='//a[@class="icon_text_gap_a"]/span[contains(text(), "Profile")]')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #23
0
 def success_message(self):
     locator = Locator(
         by=By.XPATH, value='//div[@class="message-ico isuccess"]/span')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #24
0
 def upload_logo(self):
     locator = Locator(by=By.CSS_SELECTOR, value='img#imgClientLogo')
     return BaseElement(driver=self.driver, locator=locator)
コード例 #25
0
 def workflows(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkCFlowNavi"]/span[contains(text(), "Workflows")]'
     )
     return BaseElement(driver=self.driver, locator=locator)