def send_unique_file(self, file_name): self.config.unique_file_url = utils.get_test_documents_file_url( file_name) os.renames( utils.get_test_documents_file_url( utils.get_common_data(self.config)["test_data"] ["provider_statement_data"][self.config.file_name]), self.config.unique_file_url) utils.send_file_to_element(self, self.Locators.BROWSE_BUTTON_INPUT_ID, self.config.unique_file_url) return self
def send_file_url(self): send_file_to_element(self, self.Locators.BROWSE_BUTTON_INPUT_ID, get_test_documents_file_url("LeadsImport.csv")) return self
def send_file_url(self): utils.send_file_to_element( self, self.Locators.BROWSE_BUTTON_INPUT, utils.get_test_documents_file_url("UploadDocument.pdf")) return self