def click_New_button(self): driver.find_element_by_xpath(Config_Reader.fetchElementLocators("Create_Form", "new_button_xpath")).click()
def enter_intro_text(self, intro): driver.find_element_by_name(Config_Reader.fetchElementLocators("Create_Form", "enter_intro_name")).send_keys( intro)
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()
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()
def click_logout_button(self): driver.find_element_by_xpath( Config_Reader.fetchElementLocators("Login", "logout_button_xpath")).click()
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()
def enter_password(self, password): driver.find_element_by_name( Config_Reader.fetchElementLocators( "Login", "password_name")).send_keys(password)
def enter_email(self, email): driver.find_element_by_name( Config_Reader.fetchElementLocators("Login", "email_name")).send_keys(email)