== UI Test Cases for Select Menu - Main ==
||'''Preconditions'''||'''Test Case ID'''||'''Instructions'''||'''Expected Results'''||'''Date Executed'''||'''Pass/Fail'''||
||<|7> 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 Filters is detailed under the core plugin test cases [[Cytoscape_2.6/Test Plan - 2.6/Core Plugins Test Cases/Filters_TestCases_2.6|Filters Test Cases]]|| || || ||
== UI Test Cases for Select Menu - Nodes sub menu ==
||'''Preconditions'''||'''Test Case ID'''||'''Instructions'''||'''Expected Results'''||'''Date Executed'''||'''Pass/Fail'''||
## page was renamed from Nodes sub menu
||<|9> 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-->Undirected||The node and all the nodes directly connected to it should be selected|| || ||
||S2.7||1. Click on a node with several edges <
>2. Choose Nodes → First neighbours of selected nodes-->Direct:incoming||The node and all the nodes directly connected (incoming) to it should be selected|| || ||
||S2.8||1. Click on a node with several edges <
>2. Choose Nodes → First neighbours of selected nodes-->Direct:outgoing||The node and all the nodes directly connected (outgoing) to it should be selected|| || ||
||S2.9||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.10||1. Choose Nodes → From ID list File… <
>2. Choose [[attachment: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'''||
||<|8> 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|| ||||