Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022344Openbravo ERP07. Sales managementpublic2012-11-19 13:432012-11-19 13:43
plujan 
dmiguelez 
normalminorhave not tried
newopen 
5
pi 
 
Core
No
0022344: An extra parameter is required in Payment Out window
In order to solve a false positive in the automated tests, an extra parameter is required in Add Payment pop up.
1. Create a new Payment Out
2. Open the Add Details pop up
3. An specific order has to be selected. Currently, selenium code uses XPath to access the checkbox:
//table/tbody/tr/td[text()='NNNN']/../td/input[@type='checkbox']

but this is error prone (see http://builds.openbravo.com/job/int-sales-procurement-pgsql/439/artifact/SANDBOX/automation/pi/last-results/int-smoke-pgsql-inc/screenshots/PROb_CreatePurchaseOrderPaymentAndInvoice.png [^] )
Add to the checkbox:

<input class="Checkbox_NOT_Focused" name="inpScheduledPaymentDetailId" value="9FCCD2BF9FB84E84876B7A82DF2A9D9B" onclick="updateData(this.value, this.checked, true);return true;" type="checkbox">

an extra parameter (i.e. "title") with the text "Order:NNNN", "Order:NNNN Invoice:MMMM", "Invoice:MMMM", according if the payment has associated order and/or invoice
No tags attached.
Issue History
2012-11-19 13:43plujanNew Issue
2012-11-19 13:43plujanAssigned To => dmiguelez
2012-11-19 13:43plujanModules => Core

There are no notes attached to this issue.