<html><body><div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.66">testTable.66</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test ListBox Redirections</td></tr>
</thead><tbody>
<!--
=== PART 0 ===
Initialize the test.
-->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/FooModule_createObjects</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<!--
=== PART 1 ===
Test which cover bug #372 (Wrong redirect after listbox sort).
1. Go to a listbox in an alternate view (= not the default view).
2. Sort listbox lines by title.
3. Test that we are redirected to the right view, not the default.
-->
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/Foo_viewRelationField</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//button[@name='setSelectionQuickSortOrder:method' and @value='listbox.id']</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id="listbox_label_line"]/td[2]/button/span</td>
<td>Title</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/setSelectionQuickSortOrder?selection_name=foo_line_selection&sort_on=title&form_id=Foo_viewRelationField</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0/setSelectionQuickSortOrder*</td>
<td></td>
</tr>
<!--
=== PART 2 ===
Test which cover bug #497 (Page Flicker in Listbox is not tested against redirection).
0. Create 10 sublines.
1. Go to a listbox in an alternate view (= not the default view).
2. Go to next page.
3. Test that we are redirected to the right view, not the default.
4. Go to last page.
5. Test that we are redirected to the right view, not the default.
6. Go to previous page.
7. Test that we are redirected to the right view, not the default.
8. Go to first page.
9. Test that we are redirected to the right view, not the default.
-->
<!-- Create sublines -->
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/Foo_createObjects</td>
<td></td>
</tr>
<!-- Go to next and verify -->
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/Foo_viewRelationField</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>id=listbox_record_number</td>
<td>10 record(s)</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>id=listbox_set_page</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>
<td>0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>
<td>2</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementNotPresent</td>
<td>id=listbox_previous_page</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_next_page</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=listbox_next_page</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0</td>
<td></td>
</tr>
<!-- Go to last and verify -->
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>id=listbox_record_number</td>
<td>10 record(s)</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>id=listbox_set_page</td>
<td>2</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>
<td>3</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>
<td>4</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>
<td>5</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_previous_page</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_next_page</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>4</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0/listbox_setPage</td>
<td></td>
</tr>
<!-- Go to previous and verify -->
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>id=listbox_record_number</td>
<td>10 record(s)</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>id=listbox_set_page</td>
<td>Actual value '2' did not match '4'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>
<td>Actual value '3' did not match '9'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyElementNotPresent</td>
<td>id=listbox_next_page</td>
<td>true</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_previous_page</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=listbox_previous_page</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0</td>
<td></td>
</tr>
<!-- Go to first and verify -->
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>id=listbox_record_number</td>
<td>10 record(s)</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>id=listbox_set_page</td>
<td>Actual value '1' did not match '3'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>
<td>Actual value '0' did not match '6'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>
<td>Actual value '1' did not match '7'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>
<td>Actual value '2' did not match '8'</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_previous_page</td>
<td>false</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>id=listbox_next_page</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0/listbox_setPage</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>id=listbox_record_number</td>
<td>10 record(s)</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>id=listbox_set_page</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]//input[@type="text"]</td>
<td>0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_1"]/td[1]//input[@type="text"]</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyValue</td>
<td>//tr[@id="listbox_data_line_2"]/td[1]//input[@type="text"]</td>
<td>2</td>
</tr>
<!--
=== PART 3 ===
Test which cover bug #206 (Redirection when changing the listbox display mode are broken in view mode).
1. Enable multiple display mode on listbox of an alternate view (= not the default view).
2. Go to the alternative view.
3. Change listbox display mode.
4. Test that we are redirected to the right view, not the default.
-->
<!-- START of code strongly inspired by (to not said "copied from") listbox_zuite/testDomainTree test.
Don't forget to update the code below if listbox_zuite/testDomainTree change. -->
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/Foo_viewRelationField/listbox/ListBox_setPropertyList?field_domain_tree=checked;field_domain_root_list=foo_category|Foo Category</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Set Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/0/Foo_viewRelationField</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=listbox_domain_tree_mode</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifySelected</td>
<td>domain_root_url</td>
<td>Foo Category</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[1]//a[@class="tree_closed"]</td>
<td>a</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[2]//a[@class="tree_closed"]</td>
<td>b</td>
</tr>
<!-- Click on "+ a" link -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[1]//a[@class="tree_closed"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifySelected</td>
<td>domain_root_url</td>
<td>Foo Category</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[1]//a[@class="tree_open"]</td>
<td>a</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[2]//a[@class="tree_closed"]</td>
<td>a1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[3]//a[@class="tree_closed"]</td>
<td>a2</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyText</td>
<td>//table[@id="listbox_domain_tree_table"]//tr[4]//a[@class="tree_closed"]</td>
<td>b</td>
</tr>
<!-- END of inspired code -->
<tr class="status_passed" style="cursor: pointer;">
<td>verifyAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/0/unfoldDomain*</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.85">testTable.85</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test Drop Down List Action when Nothing is
Selected</td></tr>
</thead><tbody>
<!-- reuse listbox suite reset to clear modules. -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<!-- create a Foo -->
<td>${base_url}/foo_module/Foo_createObjects?start:int=1&num:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td> http://localhost:7080/test/foo_module/1/view</td>
<td></td>
</tr>
<!-- when clicking on the action button of a drop down when nothing is selected
shouldn't do anything. -->
<tr class="status_done" style="cursor: pointer;">
<td>click</td>
<td>//button[@title='Select Favourite']</td>
<td></td>
</tr>
<!-- FIXME: we cannot use clickAndWait in the previous action, because if no
redirection occurs, selenium hangs... -->
<tr class="status_done" style="cursor: pointer;">
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/1/view</td>
<td>
</td></tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextNotPresent</td>
<td>Site Error</td>
<td>
</td></tr>
<tr class="status_done" style="cursor: pointer;">
<td>click</td>
<td>//button[@title='Select Module']</td>
<td></td>
</tr>
<!-- FIXME: we cannot use clickAndWait in the previous action, because if no
redirection occurs, selenium hangs... -->
<tr class="status_done" style="cursor: pointer;">
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/1/view</td>
<td>
</td></tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextNotPresent</td>
<td>Site Error</td>
<td>
</td></tr>
<tr class="status_done" style="cursor: pointer;">
<td>click</td>
<td>//button[@title='Select Language']</td>
<td></td>
</tr>
<!-- FIXME: we cannot use clickAndWait in the previous action, because if no
redirection occurs, selenium hangs... -->
<tr class="status_done" style="cursor: pointer;">
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/1/view</td>
<td>
</td></tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertTextNotPresent</td>
<td>Site Error</td>
<td>Couldn't access document.body. Is this HTML page fully loaded?</td></tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//button[@title='Jump']</td>
<td></td>
</tr>
<!-- FIXME: we cannot use clickAndWait in the previous action, because if no
redirection occurs, selenium hangs... -->
<tr class="" style="cursor: pointer;">
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/1/view</td>
<td>
</td></tr>
<tr class="" style="cursor: pointer;">
<td>assertTextNotPresent</td>
<td>Site Error</td>
<td>
</td></tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//button[@title='Action']</td>
<td></td>
</tr>
<!-- FIXME: we cannot use clickAndWait in the previous action, because if no
redirection occurs, selenium hangs... -->
<tr class="" style="cursor: pointer;">
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertAbsoluteLocation</td>
<td>glob:http://localhost:7080/test/foo_module/1/view</td>
<td>
</td></tr>
<tr class="" style="cursor: pointer;">
<td>assertTextNotPresent</td>
<td>Site Error</td>
<td>
</td></tr>
</tbody></table></div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.137">testTable.137</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test Simple Relation Field, navigating between multiple pages of objects</td></tr>
</thead><tbody>
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Title 0</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_foo_category_title</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[preceding-sibling::input[@name="field_my_foo_big_category_title"]][@value='update...']</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="listbox_next_page"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertValue</td>
<td>//input[@id="listbox_set_page"]</td>
<td>2</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="listbox_next_page"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertValue</td>
<td>//input[@id="listbox_set_page"]</td>
<td>3</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="listbox_previous_page"]</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertValue</td>
<td>//input[@id="listbox_set_page"]</td>
<td>Actual value '3' did not match '2'</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>//input[@id="listbox_set_page"]</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>3</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>//input[@id="listbox_set_page"]</td>
<td>3</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id="listbox_data_line_0"]/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=dialog_submit_button</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//input[@name="field_my_foo_big_category_title"][@value!=""]</td>
<td></td>
</tr>
</tbody></table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.144">testTable.144</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test Search list style change</td></tr>
</thead><tbody>
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/FooModule_createObjects?set_dates:int=1&start:int=1&num:int=3</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_your_search_text</td>
<td>Title</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//button[@title='Search']</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>//table[@class='listbox search']</td>
<td>false</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>clickAndWait</td>
<td>style_toggle_icon</td>
<td>Element style_toggle_icon not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyElementPresent</td>
<td>//div[@class='listbox']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyElementNotPresent</td>
<td>//table[@class='listbox search']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyElementNotPresent</td>
<td>//table[@class='listbox table']</td>
<td></td>
</tr>
</tbody></table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.145">testTable.145</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test a search on the top box clicking on the search button</td></tr>
</thead><tbody>
<!-- reuse listbox suite reset to clear modules. -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<!-- create a Foo -->
<td>${base_url}/foo_module/Foo_createObjects?start:int=1&num:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_your_search_text</td>
<td>Title portal_type:Foo</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//button[@title='Search']</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[@class='searchResultHeader']/span[@class='right']</td>
<td>Element //div[@class='searchResultHeader']/span[@class='right'] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']//div[@class='search_result_title']</td>
<td>Title 1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_data_line_0']//div[@class='search_result_title']/a</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[@id='breadcrumb']</td>
<td>ERP5 / Foos / Title 1 / </td>
</tr>
</tbody></table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.146">testTable.146</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test a search on the top box hitting enter</td></tr>
</thead><tbody>
<!-- reuse listbox suite reset to clear modules. -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/ListBoxZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<!-- create a Foo -->
<td>${base_url}/foo_module/Foo_createObjects?start:int=1&num:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/foo_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_your_search_text</td>
<td>Title portal_type:Foo</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>field_your_search_text</td>
<td>\13</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[@class='searchResultHeader']/span[@class='right']</td>
<td>Element //div[@class='searchResultHeader']/span[@class='right'] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']//div[@class='search_result_title']</td>
<td>Title 1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_data_line_0']//div[@class='search_result_title']/a</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[@id='breadcrumb']</td>
<td>ERP5 / Foos / Title 1 / </td>
</tr>
</tbody></table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.176">testTable.176</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an account
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Goods Sales account and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Goods Sales</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<!-- dumped listbox {{{2 -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/02</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[6]</td>
<td>Client 1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>2000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>-2000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[11]</td>
<td>-2000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[2]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[3]</td>
<td>2005/01/03</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[6]</td>
<td>Client 2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[8]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[9]</td>
<td>3000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[10]</td>
<td>-3000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[11]</td>
<td>-5000.0</td>
</tr>
<!-- }}} -->
<!-- {{{ stat line -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[8]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>5000.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>-5000.0</td>
</tr>
<!-- 2}}} -->
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.177">testTable.177</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Account GAP Parallel listfield.
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Add an account -->
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_action</td>
<td>Add Account</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Object created.</td>
<td></td>
</tr>
<!-- }}} -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_title</td>
<td>Dummy Account for UI Test</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>select</td>
<td>field_my_account_type</td>
<td>label=Asset</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>GAP - Another Standards</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>select</td>
<td>subfield_field_my_gap_list_my_country/my_accounting_standards</td>
<td>label=1 - Equity Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertValue</td>
<td>subfield_field_my_gap_list_my_country/my_accounting_standards</td>
<td>Actual value '' did not match 'my_country/my_accounting_standards/1'</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>subfield_field_my_gap_list_another_country/another_standards</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>select</td>
<td>subfield_field_my_gap_list_another_country/another_standards</td>
<td>label=1 - Dummy Account</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>subfield_field_my_gap_list_my_country/my_accounting_standards</td>
<td>my_country/my_accounting_standards/1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>subfield_field_my_gap_list_another_country/another_standards</td>
<td>another_country/another_standards/1</td>
</tr>
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.178">testTable.178</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an account
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<!-- dumped listbox {{{2 -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/02</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[6]</td>
<td>Client 1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>2200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>2200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[2]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[3]</td>
<td>2005/01/03</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[6]</td>
<td>Client 2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[8]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[9]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[10]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[11]</td>
<td>5500.0</td>
</tr>
<!-- }}} -->
<!-- {{{ stat line -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[8]</td>
<td>5500.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>5500.0</td>
</tr>
<!-- 2}}} -->
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.179">testTable.179</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an account, with at date parameter
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_day</td>
<td>11</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(), 'At Date')]]</td>
<td>Element //div[preceding-sibling::label[contains(text(), 'At Date')]] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>24 record(s)</td>
</tr>
<!-- }}} -->
<!-- List lines {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[11]</td>
<td>2200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[11]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_23']/td[11]</td>
<td>214500.0</td>
</tr>
<!-- }}} -->
<!-- {{{ stat line -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[8]</td>
<td>217800.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>214500</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.180">testTable.180</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an account, with from date parameter
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_day</td>
<td>12</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(),'From Date')]]</td>
<td>2005/01/12</td>
</tr>
<!-- }}} -->
<!-- {{{ Summary Line -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Previous Balance</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/12</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[5]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[6]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>217800.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>3300</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>214500.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[11]</td>
<td>214500.0</td>
</tr>
<!-- }}} -->
<!-- FIXME: Listbox lines are not tested, because we don't know which will from
client 1 invoice or client 2 invoice will have the first uid. -->
<!-- {{{ stat line -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[8]</td>
<td>1339800.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>1339800.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>0.0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.181">testTable.181</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Account Transaction List then jump to accounting module.
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<!-- {{{ stat line -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[8]</td>
<td>5500.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>5500.0</td>
</tr>
<!-- }}} -->
<!-- Jump to Accounting Module {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions Related to This Account:</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>2 record(s)</td>
</tr>
<!-- check amounts for lines -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>2200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>2200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[10]</td>
<td>3300.0</td>
</tr>
<!-- check amounts for stats -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>5500.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>5500.00</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.182">testTable.182</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with stop date
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_day</td>
<td>11</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(),'At Date')]]</td>
<td>2005/01/11</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>72600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>1100.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>71500.0</td>
</tr>
<!-- the last line of running total column shows the same value that the total
balance. -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_11']/td[13]</td>
<td>71500.0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.184">testTable.184</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 2</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 2</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<!-- Dumped lisbox {{{
from http://localhost:9080/erp5/Entity_viewAccountingTransactionList/listbox?form_id=Entity_viewAccountingTransactionList&portal_skin=SeleniumDump
-->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>My Organisation</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/03</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[5]</td>
<td>41</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>storeText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]</td>
<td>specific_reference</td>
</tr>
<!-- }}} -->
<!-- }}} -->
<!-- Jump to Accounting Module {{{ -->
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounting</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>specific_reference</td>
<td>${specific_reference}</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>1 record(s)</td>
</tr>
<!-- check amounts for lines -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>3300.0</td>
</tr>
<!-- check amounts for stats -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>3300.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>3300.00</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.185">testTable.185</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with start date
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_day</td>
<td>12</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(),'From Date')]]</td>
<td>Element //div[preceding-sibling::label[contains(text(),'From Date')]] not found</td>
</tr>
<!-- The summary line is counted here. -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>45 record(s)</td>
</tr>
<!-- }}} -->
<!-- The first line is a 'summary' line. {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Previous Balance</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/12</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>72600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>1100.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>71500.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>71500.00</td>
</tr>
<!-- }}} -->
<!-- Lisbox body, especially the second line {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[3]</td>
<td>2005/01/12</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[9]</td>
<td>13200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[10]</td>
<td>0.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[12]</td>
<td>13200.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[13]</td>
<td>84700.00</td>
</tr>
<!-- }}} -->
<!-- Stat line {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0</td>
</tr>
<!-- }}} -->
<!-- Second page {{{ -->
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>listbox_set_page</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Payment from Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/21*</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>12100</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>-12100</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>181500</td>
</tr>
<!-- }}} -->
<!-- Stat line again {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.186">testTable.186</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with multiple pages and date range
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0.0</td>
</tr>
<!-- }}} -->
<!-- {{{ check second page -->
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>listbox_set_page</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>56 record(s)</td>
</tr>
<!-- check first line -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>My Organisation</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/16</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[5]</td>
<td>41</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>17600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[11]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>17600.00</td>
</tr>
<!-- this is the same as the last net_balance from the previous page -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>133100.00</td>
</tr>
<!-- Stats should not change -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0.0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.187">testTable.187</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation shows transactions for this
organisation and no bogus parameters are kept in the selection.
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>2200</td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 2</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>1 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>3300</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.189">testTable.189</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 2</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 2</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<!-- Dumped lisbox {{{
from http://localhost:9080/erp5/Entity_viewAccountingTransactionList/listbox?form_id=Entity_viewAccountingTransactionList&portal_skin=SeleniumDump
-->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>My Organisation</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/03</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[5]</td>
<td>41</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>0.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>storeText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]</td>
<td>specific_reference</td>
</tr>
<!-- }}} -->
<!-- }}} -->
<!-- Jump to Accounting Module {{{ -->
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounting</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>specific_reference</td>
<td>${specific_reference}</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>1 record(s)</td>
</tr>
<!-- check amounts for lines -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>3300.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>3300.0</td>
</tr>
<!-- check amounts for stats -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>3300.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>3300.00</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.190">testTable.190</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with stop date
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_at_date_day</td>
<td>11</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(),'At Date')]]</td>
<td>2005/01/11</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>72600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>1100.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>71500.0</td>
</tr>
<!-- the last line of running total column shows the same value that the total
balance. -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_11']/td[13]</td>
<td>71500.0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.191">testTable.191</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with start date
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_jump</td>
<td>Accounting Preference</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_year</td>
<td>2005</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_month</td>
<td>01</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>subfield_field_my_preferred_accounting_transaction_from_date_day</td>
<td>12</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//div[preceding-sibling::label[contains(text(),'From Date')]]</td>
<td>Element //div[preceding-sibling::label[contains(text(),'From Date')]] not found</td>
</tr>
<!-- The summary line is counted here. -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>45 record(s)</td>
</tr>
<!-- }}} -->
<!-- The first line is a 'summary' line. {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Previous Balance</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/12</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>72600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>1100.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>71500.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>71500.00</td>
</tr>
<!-- }}} -->
<!-- Lisbox body, especially the second line {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[3]</td>
<td>2005/01/12</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[9]</td>
<td>13200.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[10]</td>
<td>0.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[12]</td>
<td>13200.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_1']/td[13]</td>
<td>84700.00</td>
</tr>
<!-- }}} -->
<!-- Stat line {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0</td>
</tr>
<!-- }}} -->
<!-- Second page {{{ -->
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>listbox_set_page</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Payment from Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/21*</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>12100</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>-12100</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>181500</td>
</tr>
<!-- }}} -->
<!-- Stat line again {{{ -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.192">testTable.192</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation, with multiple pages and date range
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionListSalesAndPayments</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0.0</td>
</tr>
<!-- }}} -->
<!-- {{{ check second page -->
<tr class="" style="cursor: pointer;">
<td>assertValue</td>
<td>listbox_set_page</td>
<td>1</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<td>id=listbox_set_page</td>
<td>2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>keyPressAndWait</td>
<td>id=listbox_set_page</td>
<td>\13</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>56 record(s)</td>
</tr>
<!-- check first line -->
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[2]</td>
<td>My Organisation</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[3]</td>
<td>2005/01/16</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[4]</td>
<td>Sale Invoice Transaction</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[5]</td>
<td>41</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[8]</td>
<td>Posted to General Ledger</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[9]</td>
<td>17600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[10]</td>
<td>0</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[11]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[12]</td>
<td>17600.00</td>
</tr>
<!-- this is the same as the last net_balance from the previous page -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_data_line_0']/td[13]</td>
<td>133100.00</td>
</tr>
<!-- Stats should not change -->
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[9]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[10]</td>
<td>446600.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>0.0</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.193">testTable.193</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test Transactions related to an Organisation shows transactions for this
organisation and no bogus parameters are kept in the selection.
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>Element listbox_record_number not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>2200</td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 2 Organisation and check transaction list -->
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 2</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 2</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Transactions</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>listbox_record_number</td>
<td>1 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[1]</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyFloat</td>
<td>//tr[@id='listbox_stat_line']/td[12]</td>
<td>3300</td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.194">testTable.194</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Sorting in Grouping Dialog
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0&add_related_payments:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and use grouping fast input -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>Element //span[@id='listbox_record_number'] not found</td>
</tr>
<!-- Sort by date asc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[6]/button</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]/a</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]/a</td>
<td>Client 1 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_2']/td[7]/a</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_3']/td[7]/a</td>
<td>Client 2 Payment</td>
</tr>
<!-- }}} -->
<!-- Sort by date desc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[6]/button</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_3']/td[7]/a</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_2']/td[7]/a</td>
<td>Client 1 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]/a</td>
<td>Client 2 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]/a</td>
<td>Client 2 Payment</td>
</tr>
<!-- }}} -->
<!-- Sort by title asc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[7]/button</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]/a</td>
<td>Client 1 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]/a</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_2']/td[7]/a</td>
<td>Client 2 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_3']/td[7]/a</td>
<td>Client 2 Sale Invoice</td>
</tr>
<!-- }}} -->
<!-- Sort by title desc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[7]/button</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_3']/td[7]/a</td>
<td>Client 1 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_2']/td[7]/a</td>
<td>Client 1 Sale Invoice</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_1']/td[7]/a</td>
<td>Client 2 Payment</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//tr[@id='listbox_data_line_0']/td[7]/a</td>
<td>Client 2 Sale Invoice</td>
</tr>
<!-- }}} -->
<!-- Sort by grouping reference asc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[2]/button</td>
<td></td>
</tr>
<!-- }}} -->
<!-- Sort by Account Name asc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[9]/button</td>
<td></td>
</tr>
<!-- all lines have the same account here. -->
<!-- }}} -->
<!-- Sort by third party title asc {{{ -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr[@id='listbox_label_line']/td[10]/button</td>
<td></td>
</tr>
<!-- this is not really sorting by title, but by uid just to make sure lines
for the same party are grouped together.
-->
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.195">testTable.195</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Grouping from account transaction view
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0&add_related_payments:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Receivable account and use grouping fast input -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- The mode should be 'grouping' by default -->
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>Element //input[@name='field_your_grouping' and @value='grouping'] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>0.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td>41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>4 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_3']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>2 200.00</td>
</tr>
<!-- Not possible to group for now -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Nothing matches.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>2 200.00</td>
</tr>
<!-- select one more -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_2']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>0.00</td>
</tr>
<!-- selected amount is 0, so it will be possible to validate -->
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines grouped.</td>
<td></td>
</tr>
<!-- mark the module as changed, reindex and come back to the account -->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_markChanged</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- Swith to 'ungrouping' mode to see grouped lines, and ungroup them -->
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td>41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>2 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_1']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- now try to ungroup with only one, it will ungroup all related lines -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_1']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines ungrouped.</td>
<td></td>
</tr>
<!-- Wait for indexing and go back to this fast input to check everything is OK
-->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Accounts</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Receivable</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>4 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_1']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_2']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_3']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.196">testTable.196</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Grouping from entity transaction view
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0&add_related_payments:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and use grouping fast input -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- The mode should be 'grouping' by default -->
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>Element //input[@name='field_your_grouping' and @value='grouping'] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>0.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertText</td>
<td>//span[@id='listbox_record_number']</td>
<td>5 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>select</td>
<td>field_your_node</td>
<td>label=41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertText</td>
<td>//span[@id='listbox_record_number']</td>
<td>2 record(s)</td>
</tr>
<!-- select and group -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_0']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_1']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines grouped.</td>
<td></td>
</tr>
<!-- mark the module as changed, reindex and come back to the entity -->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_markChanged</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- Swith to 'ungrouping' mode to see grouped lines, and ungroup them -->
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td>41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>2 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_1']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- now try to ungroup with only one, it will remove references on all grouped
lines -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_1']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines ungrouped.</td>
<td></td>
</tr>
<!-- Wait for indexing and go back to this fast input to check everything is OK
-->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>2 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_1']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.197">testTable.197</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Grouping with multiple pages
</td></tr>
</thead><tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/accounting_module/AccountingZuite_createAccountingTransactionList?add_draft_transactions:int=0&month_count:int=6&add_related_payments:int=1</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Accounting Transactions Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Folder_show:method</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<!-- title -->
<td>//tr[@id='listbox_search_line']/td[2]/span/input</td>
<td>Client 1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>listbox_select</td>
<td></td>
</tr>
<!-- }}} -->
<!-- {{{ Select Client 1 Organisation and use grouping fast input -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- The mode should be 'grouping' by default -->
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>Element //input[@name='field_your_grouping' and @value='grouping'] not found</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//label[contains(text(),"Total Selected Amount")]/../div[1]/</td>
<td>0.00</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>select</td>
<td>field_your_node</td>
<td>label=41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertText</td>
<td>//span[@id='listbox_record_number']</td>
<td>12 record(s)</td>
</tr>
<!-- select and group -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_0']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id='listbox_next_page']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_item_number']</td>
<td>- 1 item(s) selected</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_1']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines grouped.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_item_number']</td>
<td>- 0 item(s) selected</td>
</tr>
<!-- mark the module as changed, reindex and come back to the entity -->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/AccountingZuite_markChanged</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<!-- Swith to 'ungrouping' mode to see grouped lines, and ungroup them -->
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='ungrouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifySelectedLabel</td>
<td>field_your_node</td>
<td>41 - Receivable</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>2 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_item_number']</td>
<td>- 0 item(s) selected</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementPresent</td>
<td>//tr[@id='listbox_data_line_1']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- now try to ungroup with only one, it will remove references on all grouped
lines -->
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//tr[@id='listbox_data_line_1']/td[1]/input</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>2 lines ungrouped.</td>
<td></td>
</tr>
<!-- Wait for indexing and go back to this fast input to check everything is OK
-->
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>selectAndWait</td>
<td>select_module</td>
<td>Organisations</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Client 1</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//img[@alt='Grouping Reference Fast Input']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>off</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>click</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//input[@id="dialog_update_button"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertPortalStatusMessage</td>
<td>Updated</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyValue</td>
<td>//input[@name='field_your_grouping' and @value='grouping']</td>
<td>on</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>verifyText</td>
<td>//span[@id='listbox_record_number']</td>
<td>12 record(s)</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertElementNotPresent</td>
<td>//tr[@id='listbox_data_line_0']/td[2]/a/text()</td>
<td></td>
</tr>
<!-- }}} -->
</tbody></table>
<!-- vim: syntax=html foldmethod=marker
-->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.198">testTable.198</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test quantity steps for price on purchase supply line
</td></tr>
</thead>
<tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/PdmZuite_deleteData</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Deleted Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/PdmZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/internal_packing_list_module/PdmZuite_createDelivery?state=draft</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Delivery Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/product_module/erp5_pdm_ui_test_product/Resource_viewInventory</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=listbox_domain_tree_mode</td>
<td></td>
</tr>
<!-- }}} -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Purchase</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_purchase_supply_line_quantity_step_list</td>
<td>10<br>20</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>field_my_purchase_supply_line_quantity_step_list</td>
<td>10
20</td></tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../td[1]</td>
<td>Quantity < 10.0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../td[1]</td>
<td>10.0 <= Quantity < 20.0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../td[1]</td>
<td>20.0 <= Quantity</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]</td>
<td>1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]</td>
<td>2</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]</td>
<td>3</td>
</tr>
<!-- save and check -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]</td>
<td>2</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]</td>
<td>3</td>
</tr>
<!-- XXX: the field rounds to int the displayed value. This is strange
-->
<!-- The field has a validator to prevent from entering values that are non numerics
-->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_purchase_supply_line_quantity_step_list</td>
<td>foo<br>bar</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>field_my_purchase_supply_line_quantity_step_list</td>
<td>foo
bar</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertText</td>
<td>//textarea[@name="field_my_purchase_supply_line_quantity_step_list"]/parent::div/following-sibling::span</td>
<td>Actual value 'The input failed the external validator.' did not match 'You did not enter a floating point number.'</td>
</tr>
</tbody></table>
<!-- vim: syntax=html foldmethod=marker -->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.199">testTable.199</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="4">
Test quantity steps for price on sale supply line
</td></tr>
</thead>
<tbody>
<!-- Setup {{{ -->
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>setTimeout</td>
<td>600000</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/PdmZuite_deleteData</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Deleted Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/PdmZuite_reset</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/internal_packing_list_module/PdmZuite_createDelivery?state=draft</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Delivery Created.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/product_module/erp5_pdm_ui_test_product/Resource_viewInventory</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>id=listbox_domain_tree_mode</td>
<td></td>
</tr>
<!-- }}} -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>link=Sale</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_sale_supply_line_quantity_step_list</td>
<td>10<br>20</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>field_my_sale_supply_line_quantity_step_list</td>
<td>10
20</td></tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../td[1]</td>
<td>Quantity < 10.0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]/../../td[1]</td>
<td>10.0 <= Quantity < 20.0</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]/../../td[1]</td>
<td>20.0 <= Quantity</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]</td>
<td>1</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]</td>
<td>2</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]</td>
<td>3</td>
</tr>
<!-- save and check -->
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]</td>
<td>1</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_1_0_0"]</td>
<td>2</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertFloatValue</td>
<td>//input[@name="field_matrixbox_base_price_cell_2_0_0"]</td>
<td>3</td>
</tr>
<!-- XXX: the field rounds to int the displayed value. This is strange
-->
<!-- The field has a validator to prevent from entering values that are non numerics
-->
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_sale_supply_line_quantity_step_list</td>
<td>foo<br>bar</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>field_my_sale_supply_line_quantity_step_list</td>
<td>foo
bar</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertText</td>
<td>field_my_sale_supply_line_quantity_step_list</td>
<td>foo
bar</td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertText</td>
<td>//textarea[@name="field_my_sale_supply_line_quantity_step_list"]/parent::div/following-sibling::span</td>
<td>Actual value 'The input failed the external validator.' did not match 'You did not enter a floating point number.'</td>
</tr>
</tbody></table>
<!-- vim: syntax=html foldmethod=marker -->
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.215">testTable.215</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test Previous Next Selection In Website</td></tr>
</thead><tbody>
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/WebSiteModule_resetWebZuite</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/WebSiteModule_createTestSite?id=test_web_site&title=Test Web Site</td>
<td></td>
<td>Create a new site</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/Zuite_waitForActivities</td>
<td></td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/view?ignore_layout=1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr/td[3]/a[text()="Test Web Site"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertLocation</td>
<td>${base_url}/web_site_module/test_web_site/view*</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/WebSiteModule_createTestSite/?id=test_web_site_2&title=Test Web Site II</td>
<td></td>
<td>Create a second site</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/Zuite_waitForActivities</td>
<td></td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/view?ignore_layout=1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr/td[3]/a[text()="Test Web Site II"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertLocation</td>
<td>${base_url}/web_site_module/test_web_site_2/view*</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//div[@id='context_bar']//a[@title="Previous"]</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTitle</td>
<td>Web Site - Test Web Site | ERP5</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertLocation</td>
<td>${base_url}/web_site_module/test_web_site/WebSite_view*</td>
<td>Actual value 'http://localhost:7080/test/erp5_portal/web_site_module/test_web_site/WebSite_view?selection_index=-1&selection_name=web_site_module_view_web_site_list_selection&ignore_layout:int=1' did not match 'http://localhost:7080/test/web_site_module/test_web_site/WebSite_view*'</td>
</tr>
<tr class="" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/view?ignore_layout=1</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr/td[3]/a[text()="Test Web Site"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//div[@id='context_bar']//a[@title="Next"]</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertTitle</td>
<td>Web Site - Test Web Site II | ERP5</td>
<td></td>
</tr>
<tr class="" style="cursor: pointer;">
<td>assertLocation</td>
<td>${base_url}/web_site_module/test_web_site_2/WebSite_view*</td>
<td></td>
</tr>
</tbody></table>
</div>
</div>
<div style="padding-top: 10px;">
<p>
<a href="http://localhost:7080/test/portal_tests/result_20090508_185434/testTable.216">testTable.216</a>
</p>
<div>
<table border="1" cellpadding="1" cellspacing="1">
<thead>
<tr class="title status_failed" style="background-color:red"><td rowspan="1" colspan="3">Test Change Id Website</td></tr>
</thead><tbody>
<tr class="status_done" style="cursor: pointer;">
<td>store</td>
<td>http://localhost:7080/test</td>
<td>base_url</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/WebSiteModule_resetWebZuite</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Reset Successfully.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/Zuite_waitForActivities</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/WebSiteModule_createTestSite?id=test_web_site&title=Test Web Site</td>
<td></td>
<td>Create a new site</td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Created Successfully.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/Zuite_waitForActivities</td>
<td></td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Done.</td>
<td></td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>open</td>
<td>${base_url}/web_site_module/view?ignore_layout=1</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//tr/td[3]/a[text()="Test Web Site"]</td>
<td></td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>type</td>
<td>field_my_id</td>
<td>web_site_test</td>
</tr>
<tr class="status_done" style="cursor: pointer;">
<td>clickAndWait</td>
<td>//button[@name='Base_edit:method']</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTextPresent</td>
<td>Data updated.</td>
<td></td>
</tr>
<tr class="status_passed" style="cursor: pointer;">
<td>assertTitle</td>
<td>Web Site - Test Web Site | ERP5</td>
<td></td>
</tr>
<tr class="status_failed" style="background-color:red" style="cursor: pointer;">
<td>assertLocation</td>
<td>${base_url}/web_site_module/web_site_test/WebSite_view*</td>
<td>Actual value 'http://localhost:7080/test/erp5_portal/web_site_module/web_site_test/WebSite_view?selection_index=0&selection_name=web_site_module_view_web_site_list_selection&ignore_layout:int=1&editable_mode=1&portal_status_message=Data updated.' did not match 'http://localhost:7080/test/web_site_module/web_site_test/WebSite_view*'</td>
</tr>
</tbody></table>
</div>
</div>
</body></html>