diff --git a/src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/SelectAllLoadedReceiptsOnPayOpenTickets.java b/src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/SelectAllLoadedReceiptsOnPayOpenTickets.java
new file mode 100644
--- /dev/null
+++ b/src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/SelectAllLoadedReceiptsOnPayOpenTickets.java
@@ -0,0 +1,87 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License.
+ * The Original Code is Openbravo ERP.
+ * The Initial Developer of the Original Code is Openbravo S.L.U.
+ * All portions are Copyright (C) 2016 Openbravo S.L.U.
+ * All Rights Reserved.
+ * Contributor(s):
+ ************************************************************************
+ *
+ * @author GIG
+ *
+ */
+
+package org.openbravo.test.mobile.retail.pack.selenium.tests.sales;
+
+import org.junit.Test;
+import org.openbravo.test.mobile.common.TestClassAnnotations;
+import org.openbravo.test.mobile.common.selenium.database.DatabaseHelperInsertUpdateOrDelete;
+import org.openbravo.test.mobile.common.selenium.javascript.TestId;
+import org.openbravo.test.mobile.common.selenium.terminals.WebPOSTerminalHelper;
+
+@TestClassAnnotations(isHighVolumeCompatible = false)
+public class SelectAllLoadedReceiptsOnPayOpenTickets extends WebPOSTerminalHelper {
+
+  @Test
+  public void test() {
+    try {
+      setPreference();
+      updateTerminalAfterDatabaseChange();
+      tap(TestId.BUTTON_BROWSE);
+      tap(TestId.BUTTON_PRODUCT_BESTSELLERS_AVALANCHETRANSCEIVER);
+      tap(TestId.BUTTON_NEWRECEIPT);
+      tap(TestId.BUTTON_BROWSE);
+      tap(TestId.BUTTON_PRODUCT_BESTSELLERS_AVALANCHETRANSCEIVER);
+      tap(TestId.BUTTON_NEWRECEIPT);
+      tap(TestId.BUTTON_MENU);
+      tap(TestId.BUTTON_MENU_LAYAWAYTHISRECEIPT);
+      tap(TestId.BUTTON_PRODUCT_BESTSELLERS_AVALANCHETRANSCEIVER);
+      tap(TestId.BUTTON_MENU);
+      tap(TestId.BUTTON_MENU_CREATEQUOTATION);
+      tap(TestId.BUTTON_PRODUCT_BESTSELLERS_AVALANCHETRANSCEIVER);
+      tap(TestId.BUTTON_MENU);
+      tap(TestId.BUTTON_MENU_PAYOPENTICKETS);
+      tap(TestId.BUTTON_POPUP_OPENTICKETS_DONE);
+      verify(TestId.LABEL_RECEIPT_MULTIORDER_TOTALQTY, "3");
+      verify(TestId.LABEL_RECEIPT_MULTIORDER_TOTALGROSS, "451.50");
+      tap(TestId.BUTTON_PAY_EXACT);
+      tap(TestId.BUTTON_PAY_DONE);
+      verify(TestId.LABEL_TOTALTOPAY, "0.00");
+      tap(TestId.BUTTON_DELETERECEIPT);
+      tap(TestId.BUTTON_DELETERECEIPT_CONFIRM);
+      verify(TestId.LABEL_TOTALTOPAY, "150.50");
+      tap(TestId.BUTTON_DELETERECEIPT);
+      tap(TestId.BUTTON_DELETERECEIPT_CONFIRM);
+      verify(TestId.LABEL_TOTALTOPAY, "0.00");
+    } finally {
+      resetPreference();
+      updateTerminalAfterDatabaseChange();
+    }
+  }
+
+  private void setPreference() {
+    // Verifying OBPOS_SelectCurrentTicketsOnPaidOpen have been set to Y for VallBlanca User
+    new DatabaseHelperInsertUpdateOrDelete(
+        "Insert Preference OBPOS_SelectCurrentTicketsOnPaidOpen for VallBlanca User")
+        .execute(
+            "INSERT INTO ad_preference(ad_preference_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ad_user_id, value, property, ispropertylist, selected) "
+                + "VALUES ('0A179A12A3DE4023BF20A0881FE7DDDA', '39363B0921BB4293B48383844325E84C', '0', 'Y', now(), '100', now(), '100', '3073EDF96A3C42CC86C7069E379522D2', 'Y', 'OBPOS_SelectCurrentTicketsOnPaidOpen', 'Y', 'Y')",
+            1);
+  }
+
+  private void resetPreference() {
+    new DatabaseHelperInsertUpdateOrDelete(
+        "Remove existing OBPOS_SelectCurrentTicketsOnPaidOpen for VallBlanca User").execute(
+        "DELETE from AD_Preference WHERE ad_preference_id = '0A179A12A3DE4023BF20A0881FE7DDDA'", 1);
+  }
+
+}
