UI Test Cases for Select Menu - Main

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg. galFiltered.sif)
3. Click on Select from the toolbar

S1.1

1. Choose Mouse Drag Selects → Nodes Only
2. Click and drag over a portion of the graph

Ensure that only nodes are selected and no edges

S1.2

1. Choose Mouse Drag Selects → Edges Only
2. Repeat step 2 from S1.1

Ensure that only edges are selected and no nodes

S1.3

1. Choose Mouse Drag Selects → Nodes and Edges
2. Repeat step 2 from S1.1

Ensure that both nodes and edges are selected

S4

Click on Select all nodes and edges

All the nodes and edges in the network should be selected

S5

Click on Deselect all nodes and edges

None of the nodes or edges in the network should be selected

S6

Using Old Filters is detailed under the core plugin test cases Old Filters Test Cases

S7

Using Filters is detailed under the core plugin test cases Filters Test Cases

UI Test Cases for Select Menu - Nodes sub menu

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg. galFiltered.sif)
3. Click on Select from the toolbar

S2.1

1. Click and drag over a portion of the graph
2. Choose Nodes → Invert node selection

The nodes selected should be deselected and all the nodes that were not initially selected should be highlighted

S2.2

1. Repeat step 1 from S2.1
2. Choose Nodes → Hide node selection

The nodes selected with the edges that connect them should now be invisible

S2.3

Choose Nodes → Show all nodes

The nodes that were hidden in S2.2 should now be visible with all the other nodes in the network

S2.4

Choose Nodes → Select all nodes

All the nodes in the network should be selected

S2.5

Choose Nodes → Deselect all nodes

All the nodes in the network should be deselected and not highlighted

S2.6

1. Click on a node with several edges
2. Choose Nodes → First neighbours of selected nodes

The node and all the nodes directly connected to it should be selected

S2.7

1. Drag and select some edges
2. Choose Nodes → Nodes connected by selected edges

The nodes connected by the initially selected edges should also be selected

S2.8

1. Choose Nodes → By Name…
2. Type “?” into the search field

The node called “?” should be selected

S2.9

1. Choose Nodes → From File…
2. Choose SampleHumanNetwork.xls and click Open

All the nodes in the galFiltered network should be selected.

UI Test Cases for Select Menu - Edges sub menu

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg. galFiltered.sif)
3. Click on Select from the toolbar

S3.1

1. Click and drag over a portion of the graph
2. Choose Edges → Invert edge selection

The edges that were selected should be deselected and the edges that were not initially selected should be highlighted

S3.2

1. Repeat step 1 from S3.1
2. Choose Edges → Hide edge selection

The selected edges should now be invisible

S3.3

Choose Edges → Show all edges

The edges that were hidden in S3.3 should now be visible with all the other edges in the network

S3.4

Choose Edges → Select all edges

All the edges in the network should be selected

S3.5

Choose Edges → Deselect all edges

All the edges in the network should be deselected and not highlighted

S3.6

1. Hold shift and click on 5 nodes
2. Choose Edges → Select adjacent edges

All the edges connected to these nodes should be selected

S3.7

1. Select an edge
2. Hold Ctrl (or Command) and click on a point on the edge
3. Repeat step 2 further up the edge
4. Click on the edge and drag it into a zig-zag>>BR>>5. Choose Edges → Straighten selected edges
6. Choose Edges → Smooth selected edges

The edge should change from a zig-zag to a smooth curve

S3.8

1. Select the curved edge created in S3.7
2. Choose Edge → Straighten selected edge

The curved edge should now be a straight zig-zag again

Master Test Plan/UI Test Cases/Select menu - main (last edited 2010-07-15 17:31:53 by barbera)

MoinMoin Appliance - Powered by TurnKey Linux