Ejemplo n.º 1
0
	def fill_out_tax_rate(self, taxRate):
		self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(8)).click()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_tax_rate_locator()).clear()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_tax_rate_locator()).send_keys(taxRate)
Ejemplo n.º 2
0
	def fill_out_account(self, account):
		self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(7)).click()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_account_locator()).clear()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_account_locator()).send_keys(account)
Ejemplo n.º 3
0
	def fill_out_quantity(self, quantity):
		self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(4)).click()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_quantity_locator()).clear()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_quantity_locator()).send_keys(quantity)
Ejemplo n.º 4
0
	def fill_out_unitprice(self, unitprice):
		self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(5)).click()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_unitprice_locator()).clear()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_unitprice_locator()).send_keys(unitprice)
Ejemplo n.º 5
0
	def fill_out_description(self, description):
		self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(3)).click()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_description_locator()).clear()
		self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_description_locator()).send_keys(description)