Exemplo n.º 1
0
 def click_New_button(self):
     driver.find_element_by_xpath(Config_Reader.fetchElementLocators("Create_Form", "new_button_xpath")).click()
Exemplo n.º 2
0
 def enter_intro_text(self, intro):
     driver.find_element_by_name(Config_Reader.fetchElementLocators("Create_Form", "enter_intro_name")).send_keys(
         intro)
Exemplo n.º 3
0
 def enter_completion_text(self, outro):
     driver.find_element_by_name(Config_Reader.fetchElementLocators("Create_Form", "enter_completion_name")).send_keys(
         outro)
 def click_Forms(self):
     driver.find_element_by_link_text(
         Config_Reader.fetchElementLocators("Navigation",
                                            "forms_link")).click()
Exemplo n.º 5
0
 def enter_name(self, name):
     driver.find_element_by_name(Config_Reader.fetchElementLocators("Create_Form", "enter_name_name")).send_keys(
         name)
 def click_Calendar(self):
     driver.find_element_by_link_text(
         Config_Reader.fetchElementLocators("Navigation",
                                            "calendar_link")).click()
Exemplo n.º 7
0
 def click_logout_button(self):
     driver.find_element_by_xpath(
         Config_Reader.fetchElementLocators("Login",
                                            "logout_button_xpath")).click()
Exemplo n.º 8
0
 def click_settings_button(self):
     # object = Select(driver.find_element_by_class_name('settings icon'))
     # object.select_by_visible_text("Logout")
     driver.find_element_by_css_selector(
         Config_Reader.fetchElementLocators("Login",
                                            "settings_button_css")).click()
Exemplo n.º 9
0
 def enter_password(self, password):
     driver.find_element_by_name(
         Config_Reader.fetchElementLocators(
             "Login", "password_name")).send_keys(password)
Exemplo n.º 10
0
 def enter_email(self, email):
     driver.find_element_by_name(
         Config_Reader.fetchElementLocators("Login",
                                            "email_name")).send_keys(email)