← Revision 1 as of 2010-02-16 21:30:57
Size: 4779
Comment:
|
← Revision 2 as of 2010-02-19 15:22:39 →
Size: 4447
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== UI Test Cases for Select Menu - Main == | == UI Test Cases for Edit Menu == |
Line 3: | Line 3: |
||<|7> 1. Start Cytoscape <<BR>>2. Import a network file (eg. galFiltered.sif) <<BR>>3. Click on Select from the toolbar||S1.1||1. Choose Mouse Drag Selects → Nodes Only <<BR>>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 <<BR>>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 <<BR>>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 [[Cytoscape_2.6/Test Plan - 2.6/Core Plugins Test Cases/Old Filters_TestCases_2.6|Old Filters Test Cases]]|| || || || ||S7||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]]|| || || || |
||<|14> Click on Edit from the toolbar||E1||1. Select the Editor tab from the Control Panel and add two nodes to a blank space on the network canvas <<BR>>2. Drag and select both nodes <<BR>>3. Click Connect Selected Nodes||An edge connecting the two new nodes should appear|| || || ||E2||1. Drag and select the new nodes and edge <<BR>>2. Click Delete Selected Nodes and Edges||The selected nodes and edges should no longer appear on the network canvas|| || || ||E3||Click Undo: Delete||The nodes and edge deleted in E2 should reappear|| || || ||E4||Click Redo: Delete||The nodes and edge should be deleted again|| || || ||E5||1. Select a network from the Network tab in the Control Panel <<BR>>2. Click Destroy View||The network canvas window should be deleted|| || || ||E6||1. Select the same network as in E5 <<BR>>2. Click Create View||The network canvas window should appear with the network displayed in its default state|| || || ||E7||Click Destroy Network||The network canvas window should be gone and the Network tab on the Control Panel should not show the network deleted|| || || ||E8||Click on Preferences option, select Properties||'Cytoscape Preference Editor' window should show up || || || ||E8.1||(Continuation from E8) - Click on the add button. Add a name and a value|| Ensure the property name and value show up in the list|| || || ||E8.2||(Continuation from E8) - Click on the Edit button. Edit the name and/or value|| Ensure the changes are reflected on the list|| || || ||E8.3||(Continuation from E8) - Choose the above created property and click on the Delete button||The property should get deleted|| || || ||E8.4|| Click on the Preferences menu, select Bookmark||Ensure the bookmark window opens up|| || || ||E8.5||Click on the preferences menu; add, edit or delete a bookmark||Ensure you are able to add, edit or delete the bookmark|| || || ||E8.6|| Click on the preferences menu; Select proxy. The add proxy window opens up; try adding a proxy||Ensure you are able to add a proxy|| || || |
Line 12: | Line 19: |
== UI Test Cases for Select Menu - Nodes sub menu == |
== UI Test Cases for View Menu == |
Line 14: | Line 22: |
## page was renamed from Nodes sub menu ||<|9> 1. Start Cytoscape <<BR>>2. Import a network file (eg. galFiltered.sif) <<BR>>3. Click on Select from the toolbar||S2.1||1. Click and drag over a portion of the graph <<BR>>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 <<BR>>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 <<BR>>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 <<BR>>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… <<BR>>2. Type “?” into the search field||The node called “?” should be selected|| || || ||S2.9||1. Choose Nodes → From File… <<BR>>2. Choose [[attachment:SampleHumanNetwork.xls]] and click Open||The network should be opened in a new window|| || || == UI Test Cases for Select Menu - Edges sub menu == ||'''Preconditions'''||'''Test Case ID'''||'''Instructions'''||'''Expected Results'''||'''Date Executed'''||'''Pass/Fail'''|| ||<|8> 1. Start Cytoscape <<BR>>2. Import a network file (eg. galFiltered.sif) <<BR>>3. Click on Select from the toolbar||S3.1||1. Click and drag over a portion of the graph <<BR>>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 <<BR>>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 <<BR>>2. Choose Edges → Select adjacent edges||All the edges connected to these nodes should be selected|| |||| ||S3.7||1. Select an edge <<BR>>2. Hold Ctrl (or command) and click on a point on the edge <<BR>>3. Repeat step 2 further up the edge <<BR>>4. Click on the edge and drag it into a zig-zag <<BR>>5. 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 <<BR>>2. Choose Edge → Straighten selected edge||The curved edge should now be a straight zig-zag again|| || || |
||<|11> 1. Start Cytoscape <<BR>>2. Import a network file (eg. galFiltered.sif) <<BR>>3. Click on View from the toolbar||V1||Click Hide Control Panel||The Control Panel should now be hidden and can be restored by clicking Show Control Panel|| || || ||V2||Click Hide Data Panel||The Data Browser Panel should now be hidden and can be restored by clicking Show Data Panel|| || || ||V3||Click Hide Results Panel||The Results Panel should now be hidden and can be restored by clicking Show Results Panel|| || || ||V4||Click Hide Graphics Details||Things like the node labels should no longer be visible when zoomed out past a certain point|| || || ||V5||With any other tab in the Control Panel selected apart from the Vizmapper™ click the Open Vizmapper™ button||The Vizmapper™ tab in the Control Panel should now be open|| || || ||V6.1||1. Ensure that there are three different network windows open <<BR>>2. Select Arrange Network Windows → Cascade||The network windows should be arranged slightly overlapping and filling the entire view area|| || || ||V6.2||1. Repeat step 1 from V6.1 <<BR>>2. Select Arrange Network Windows → Tiled||The network windows should not overlap but should fill the entire view area in a tiled pattern|| || || ||V6.3||1. Repeat step 1 from V6.1 <<BR>>2. Select Arrange Network Windows → Horizontal||The network windows should not overlap but should span the width of the view area one above another|| || || ||V6.4||1. Repeat step 1 from V6.1 <<BR>>2. Select Arrange Network Windows → Vertical||The network windows should not overlap but should span the height of the view area one beside another|| || || ||V6.5||1. Repeat step 1 from V6.1 <<BR>>2. Select Arrange Network Windows → Default||The network windows should overlap each other completely and are positioned in the top left hand corner of the view area|| || || ||V6.6||1. Select hide results option <<BR>> 2. Select Nature Protocols workflow || The Results panel should show up on the right hand side and the 'Nature Protocols workflow; tab should be visible under it|| || || |
UI Test Cases for Edit Menu
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
Click on Edit from the toolbar |
E1 |
1. Select the Editor tab from the Control Panel and add two nodes to a blank space on the network canvas |
An edge connecting the two new nodes should appear |
|
|
E2 |
1. Drag and select the new nodes and edge |
The selected nodes and edges should no longer appear on the network canvas |
|
|
|
E3 |
Click Undo: Delete |
The nodes and edge deleted in E2 should reappear |
|
|
|
E4 |
Click Redo: Delete |
The nodes and edge should be deleted again |
|
|
|
E5 |
1. Select a network from the Network tab in the Control Panel |
The network canvas window should be deleted |
|
|
|
E6 |
1. Select the same network as in E5 |
The network canvas window should appear with the network displayed in its default state |
|
|
|
E7 |
Click Destroy Network |
The network canvas window should be gone and the Network tab on the Control Panel should not show the network deleted |
|
|
|
E8 |
Click on Preferences option, select Properties |
'Cytoscape Preference Editor' window should show up |
|
|
|
E8.1 |
(Continuation from E8) - Click on the add button. Add a name and a value |
Ensure the property name and value show up in the list |
|
|
|
E8.2 |
(Continuation from E8) - Click on the Edit button. Edit the name and/or value |
Ensure the changes are reflected on the list |
|
|
|
E8.3 |
(Continuation from E8) - Choose the above created property and click on the Delete button |
The property should get deleted |
|
|
|
E8.4 |
Click on the Preferences menu, select Bookmark |
Ensure the bookmark window opens up |
|
|
|
E8.5 |
Click on the preferences menu; add, edit or delete a bookmark |
Ensure you are able to add, edit or delete the bookmark |
|
|
|
E8.6 |
Click on the preferences menu; Select proxy. The add proxy window opens up; try adding a proxy |
Ensure you are able to add a proxy |
|
|
UI Test Cases for View Menu
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
1. Start Cytoscape |
V1 |
Click Hide Control Panel |
The Control Panel should now be hidden and can be restored by clicking Show Control Panel |
|
|
V2 |
Click Hide Data Panel |
The Data Browser Panel should now be hidden and can be restored by clicking Show Data Panel |
|
|
|
V3 |
Click Hide Results Panel |
The Results Panel should now be hidden and can be restored by clicking Show Results Panel |
|
|
|
V4 |
Click Hide Graphics Details |
Things like the node labels should no longer be visible when zoomed out past a certain point |
|
|
|
V5 |
With any other tab in the Control Panel selected apart from the Vizmapper™ click the Open Vizmapper™ button |
The Vizmapper™ tab in the Control Panel should now be open |
|
|
|
V6.1 |
1. Ensure that there are three different network windows open |
The network windows should be arranged slightly overlapping and filling the entire view area |
|
|
|
V6.2 |
1. Repeat step 1 from V6.1 |
The network windows should not overlap but should fill the entire view area in a tiled pattern |
|
|
|
V6.3 |
1. Repeat step 1 from V6.1 |
The network windows should not overlap but should span the width of the view area one above another |
|
|
|
V6.4 |
1. Repeat step 1 from V6.1 |
The network windows should not overlap but should span the height of the view area one beside another |
|
|
|
V6.5 |
1. Repeat step 1 from V6.1 |
The network windows should overlap each other completely and are positioned in the top left hand corner of the view area |
|
|
|
V6.6 |
1. Select hide results option |
The Results panel should show up on the right hand side and the 'Nature Protocols workflow; tab should be visible under it |
|
|