Пример #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)
 def calendar(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//a[@id="lnkCFlowCalenderNavi"]/span[contains(text(), "Calendar")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
 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)
 def username_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#txtUserName')
     return BaseElement(driver=self.driver, locator=locator)
 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)
 def signup_link(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#sig-btn')
     return BaseElement(driver=self.driver, locator=locator)
 def add_lookup(self):
     locator = Locator(by=By.XPATH, value='')
     return BaseElement(driver=self.driver, locator=locator)
 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)
 def history(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkHistoryNavi"]/span[contains(text(), "History")]'
     )
     return BaseElement(driver=self.driver, locator=locator)
 def admin(self):
     locator = Locator(
         by=By.XPATH,
         value=
         '//a[@id="lnkControlCenterNavi"]/span[contains(text(), "Admin")]')
     return BaseElement(driver=self.driver, locator=locator)
 def reports(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkReportNavi"]/span[contains(text(), "Reports")]')
     return BaseElement(driver=self.driver, locator=locator)
 def password_field(self):
     locator = Locator(by=By.CSS_SELECTOR, value='#txtPassword')
     return BaseElement(driver=self.driver, locator=locator)
 def login_button(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@class="login-btn"][contains(text(), "Login")]')
     return BaseElement(driver=self.driver, locator=locator)
 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)
 def workflows(self):
     locator = Locator(
         by=By.XPATH,
         value='//a[@id="lnkCFlowNavi"]/span[contains(text(), "Workflows")]'
     )
     return BaseElement(driver=self.driver, locator=locator)