<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
        <tuple/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_text</string> </key>
            <value> <string encoding="cdata"><![CDATA[

<html>\n
<head><title>Test for Accounting module main listbox</title></head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="4">\n
Accounting Transaction Module Search Columns\n
</td></tr>\n
</thead><tbody tal:define="init_method string:AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0">\n
<tal:block metal:use-macro="here/AccountingZuite_CommonTemplate/macros/init"/>\n
\n
\n
<!-- setup {{{ -->\n
<tr>\n
  <td>selectAndWait</td>\n
  <td>select_module</td>\n
  <td>Accounting</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- filter on title  {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[2]/span/input</td>\n
  <td>Client 1 Sale Invoice</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>listbox_select</td>\n
  <td></td>\n
</tr>\n
<!-- list filtered with 1 item-->\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>1 records</td>\n
</tr>\n
\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>2200.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>2200.00</td>\n
</tr>\n
<!-- check source and destination section -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>link=Client 1 Sale Invoice</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyValue</td>\n
  <td>field_my_title</td>\n
  <td>Client 1 Sale Invoice</td>\n
</tr>\n
<tr>\n
  <td>verifyValue</td>\n
  <td>field_my_destination_section_title</td>\n
  <td>Client 1</td>\n
</tr>\n
<tr>\n
  <td>selectAndWait</td>\n
  <td>select_module</td>\n
  <td>Accounting</td>\n
</tr>\n
<!-- }}} -->\n
\n
<!-- filter on title, matching is "fuzzy", {{{\n
as title is a search key -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[2]/span/input</td>\n
  <td>%Client%</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>listbox_select</td>\n
  <td></td>\n
</tr>\n
<!-- list filtered with 2 items -->\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>2 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[3]/a\n
</td>\n
  <td>Client 1</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[3]/a\n
</td>\n
  <td>Client 2</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[9]/a\n
</td>\n
  <td>3300.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[10]/a\n
</td>\n
  <td>3300.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>5500.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>5500.00</td>\n
</tr>\n
<!-- }}} --> \n
\n
<!-- filter on Third Party (Sale) {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[3]/span/input</td>\n
  <td>Client%</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td><!-- alterative way of search -->\n
  <td></td>\n
</tr>\n
<!-- list filtered with 2 items -->\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>2 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[3]/a\n
</td>\n
  <td>Client 1</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[3]/a\n
</td>\n
  <td>Client 2</td>\n
</tr>\n
<!-- second line -->\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[9]/a\n
</td>\n
  <td>3300.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_1\']/td[10]/a\n
</td>\n
  <td>3300.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>5500.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>5500.00</td>\n
</tr>\n
<!-- }}} --> \n
\n
<!-- filter on Third Party (Purchase) {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[3]/span/input</td>\n
  <td>Supplier</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>1 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[3]/a\n
</td>\n
  <td>Supplier</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>7700.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>7700.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>7700.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>7700.00</td>\n
</tr>\n
<!-- check source and destination section -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>link=First Purchase Invoice</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyValue</td>\n
  <td>field_my_title</td>\n
  <td>First Purchase Invoice</td>\n
</tr>\n
<tr>\n
  <td>verifyValue</td>\n
  <td>field_my_source_section_title</td>\n
  <td>Supplier</td>\n
</tr>\n
<tr>\n
  <td>selectAndWait</td>\n
  <td>select_module</td>\n
  <td>Accounting</td>\n
</tr>\n
<!-- }}} --> \n
\n
<!-- filter on Transaction Type {{{ -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[4]/span/input</td>\n
  <td>Accounting Transaction</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>1 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[2]/a\n
</td>\n
  <td>Accounts opening</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>20000.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>20000.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>20000.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>20000.00</td>\n
</tr>\n
<!-- }}} --> \n
\n
<!-- filter on Date {{{ -->\n
<!-- try equal -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[5]/span/input</td>\n
  <td>2005/01/02</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>1 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[2]/a\n
</td>\n
  <td>Client 1 Sale Invoice</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>2200.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>2200.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>2200.00</td>\n
</tr>\n
\n
<!-- unset search parameters, to make sure it\'s not kept -->\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[5]/span/input</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>4 records</td>\n
</tr>\n
\n
\n
<!-- try less than -->\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Folder_show:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[5]/span/input</td>\n
  <td>&lt;= 2005/01/01</td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>1 records</td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[2]/a\n
</td>\n
  <td>Accounts opening</td>\n
</tr>\n
<!-- check amounts for lines -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[9]/a\n
</td>\n
  <td>20000.0</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_data_line_0\']/td[10]/a\n
</td>\n
  <td>20000.0</td>\n
</tr>\n
<!-- check amounts for stats -->\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[9]\n
</td>\n
  <td>20000.00</td>\n
</tr>\n
<tr>\n
  <td>verifyFloat</td>\n
  <td>\n
//tr[@id=\'listbox_stat_line\']/td[10]\n
</td>\n
  <td>20000.00</td>\n
</tr>\n
<!-- unset search parameters, to make sure it\'s not kept -->\n
<tr>\n
  <td>type</td>\n
  <td>//tr[@id=\'listbox_search_line\']/td[5]/span/input</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>clickAndWait</td>\n
  <td>Base_doSelect:method</td>\n
  <td></td>\n
</tr>\n
<tr>\n
  <td>verifyText</td>\n
  <td>listbox_record_number</td>\n
  <td>4 records</td>\n
</tr>\n
\n
<!-- }}} --> \n
\n
<!-- TODO: filter on *Translated* Transaction Type\n
XXX shall we really test i18n issues here?\n
-->\n
\n
</tbody></table>\n
</body>\n
</html> <!-- vim: syntax=html foldmethod=marker\n
-->\n


]]></string> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>expand</string> </key>
            <value> <int>0</int> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>test_accounting_transaction_module_search_columns.html</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
