source: trunk/doc/test/gui/filter.tex @ 2024

Last change on this file since 2024 was 2024, checked in by Martin Svensson, 17 years ago

Updated testdocument for List columns,Filter and User admin

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
1% $Id: filter.tex 2024 2006-02-17 15:59:13Z martin $
5This test is common for all filters. There are more specific testing
6under each chapter that uses these functions.\\
7Make sure that all columns are visible before the test is started.
8\subsection{Query filters}
10\item Test each column filter seperatly and control that the list
11contains the right items. Test the filter with '\userinput{\%}' in the
12search string.
13\item If the column contains dates the following test should be
14done to the filter otherwise skip this step.\\Pick a date that is
15present when the list is unfiltered and filter the column with this date typed in the different formats below:
17\item \userinput{[YYYY-MM-DD]}
18\item \userinput{[YYYYMMDD]}
19\item \userinput{[DD-MM-YYYY]}
21The first format is the one that is used in BASE2 and should give the expected
23\item Test to apply more than one column filter at the same time and
24control that the result is right.
28\item Configure one or more columns to be filtered.
29\item Click on \click{Save as...} in the '-view/presets-' drop-downlist to save
30  the filter as a preset.
31\item Call the preset for \userinput{testfilter} and uncheck \checkbox{Overwrite
32exixting} and \checkbox{Public} and press \button{Ok}.
33\item Try to save the filter once again as the previous step describe
34to see that it isn't possible to overwrite an existing preset if
35\checkbox{Overwrite existing} is unchecked.
36\item Click on \click{Clear filter} in the '-view/presets-' drop-downlist. All
37  items in the current list should be showed(no filter).
38\item Select the preset, that was created before, from the drop-downlist
39  and control that the filter gives the right result.
40  \item Preform the step 2-6 again, but hide/view some other columns
41  and check \checkbox{Overwrite existing} before the preset is saved
42  to see that it is possible to overwrite a preset.
43\item Click on \click{Manage...} in the drop-downlist.
44\item Load the preset called testfilter by clicking on the preset's
45  \click{Load} link. Did the filter work?
46\item Open the manage-window again.
47\item Delete the testfilter - preset by clicking on \click{Delete} for
48  these preset. Press the button \button{Close} to close the preset-window.
49\item The preset should be erased from the `-view/preset-' drop-downlist.
51\subsubsection{Owned by../Shared by..} 
52Followoing steps shall be tested in the cases when it's possible
53to limit the listed items to be just the ones owned by the user, shared
54to the user and/or owned by other users.
56\item Make sure that all three, 'Owned by me','Shared to me' and
57'Owned by others' are unchecked(not marked with a 'x'). Is the list empty?
58\item Click on \click{Owned by me} from the drop-downlist.\\Is the list
59only containing items that are own by the current user?.
60\item Click on \click{Owned by me} to not view items that are owned by
61the current user.
62\item Do step 2 and 3 with both \click{Shared to me} and \click{Owned by others}. The listed
63  items should only be those who are shared to the user and owned by
64  others respectively.
65\item Test to combine the options:
67\item Owned by me and Owned by others
68\item Owned by me and Shared to me
69\item Owned by others and Shared to me
70\item Owned by me, Owned by others and Shared to me
72Do the cases give the expected results?
Note: See TracBrowser for help on using the repository browser.