Filter Test Cases

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg. galFiltered.sif)
3. Apply the layout: Layouts→Cytoscape Layouts→Degree Sorted Circle Layout (This creates an attribute called degree).
4. Click Select → Use Filters (F7) (Alternatively, click on the Filters tab in the Control Panel)

F1

1. Click on the Options button and select Create new filter… from the menu
2. Call the new Filter Numbers
3. In the Filter Definition section select node.Numbers from the menu
4. Click Add, double click the range bar and set the Low and High Bound to 5, click Apply

All the nodes with “5” in their Numbers attribute column should be highlighted

F2

1. (Repeat steps 1-4 from F1)
2. Click the Not check box next to the range bar (then click Apply)

All the nodes that do not have “5” in their Numbers attribute column should be highlighted

F3

1. (Repeat steps 1-4 from F1)
2. Click the Advanced “+” symbol in the Filter Definition area and click on the Negation check box

All the nodes that do not have “5” in their Numbers attribute column should be highlighted

F4

1. (Repeat steps 1-4)
2. Select node.Numbers from the Attribute/Filter menu again and click Add
3. Set the Low and High bounds to 1 and click Apply (ensuring that AND appears between the two range bars)

There should be no selected nodes on the graph because the Numbers attribute only contains one integer

F5

1. (Repeat steps 1-3 from F4)
2. Ensure that OR appears between the two range bars by selecting the OR radio button from the Filter Definition area

All the nodes that have either a 1 or a 5 in their Numbers attribute column should be highlighted

F6

1. (Repeat steps 1-4 from F1)
2. Click the garbage can icon beside the range bar

The parameter should be deleted and no longer appear in the Filter Definition area

F7

1. Select edge.interaction from the Attribute/Filter menu and click Add
2. Type “pp” into the text field and click Apply

All the edges in the graph that represent pp interactions should be highlighted

F8

1. Click the Options button and select Rename Filter
2. Type “Filter 1” into the text field and click OK

The Current Filter menu should reflect the name change to “Filter 1”

F9

1. Click the Options button and select Create new topology filter
2. Type “Topology” into the text field and click OK
3. Under Toplogy Filter Definition type “1” into the first and second text fields and leave the menu on none for additional Filters to pass

All the nodes that have 1 neighbour within 1 edge interaction should be highlighted (eg. All the nodes in galFiltered.sif)

F10

Select Filter 1 from the Topology Filter Definition and click Apply

Only those nodes that pass Filter 1 as well as the Topology Filter should be highlighted

F11

1. Click the Options button and select Create new NodeInteraction Filter
2. Type “Node” into the text field and press OK
3. Leave the default settings in the Interaction Filter Definition area and click Apply

All the nodes that are either the source or the target of at least one edge that passes Filter 1 (eg. Is a pp interaction edge)

F12

1. Click the Options button and select Create new EdgeInteraction Filter
2. Type “Edge” into the text field and press OK
3. Select Node from the Filter menu in the Interaction Filter Definition area

All the edges whose source or target node pass the NodeInteraction filter Node should be highlighted

F13

1. Select Edge from the Current Filter menu
2. Click the Options button and select Delete Filter, click YES when the Warning box appears

The Edge Filter should be deleted and should no longer appear in the Current Filter menu

F14

1. Select Filter 1 from the Current Filter menu
2. Click on the Global check box under Advanced in the Filter Definition area
3. Import another network file (eg. galFiltered.gml)
4. Type “pp” into the text filed next to interaction in the Filter Definition area
5. Click Apply

All of the edges that represent pp interactions in both graphs should be highlighted

QuickFind Test Cases

These test cases should be updated for Enhanced Search

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg. galFiltered.sif)

QF1.1

Enter text into the search field on the Tool bar and press Enter

If the search term is found it should be highlighted and zoomed the view panel should zoom in

QF1.2

With text in the search field click on the triangle tab at the end of the field

A list of similar terms to the text entered in the search field should appear

QF1.3

Enter irrelevant text into the search field

The field should be highlighted red and the drop down menu should display the search term followed by 0 hits

QF2.1

Select the Configure search options and then click cancel

The dialog box should disappear and settings should remain the same

QF2.2

1. Select the Configure search options, then click on the Node or Edge radio buttons and change the Selected attribute and click Apply
2. Enter text appropriate for the new search parameters

The search configuration box should disappear and the drop down menu should contain the corresponding style of suggestions to the search parameters. The term entered should highlight the object in the graph

Cytoscape_3/Cy3TestPlan/filters (last edited 2012-07-03 18:10:53 by server2)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux