def enterusername(self, username):
     try:
         element = self.driver.find_element_by_id(
             Locators.Username_TextBox_id)
         WebActions.send_value_to_textbox(self, username, element)
         Log.write_info_to_log_file(self, "User name entered successfully")
     except:
         Log.write_errors_to_log_file(self, "Entering username failed")
 def enterpassword(self, password):
     try:
         element = self.driver.find_element_by_id(
             Locators.Password_TextBox_id)
         WebActions.send_value_to_textbox(self, password, element)
         Log.write_info_to_log_file(self,
                                    "Password value entered successfully")
     except:
         Log.write_errors_to_log_file(self, "Entering password failed")