2.2 Edge Attribute Browser Test Cases
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Windows |
Mac |
||
Date Executed |
Pass/Fail |
Date Executed |
Pass/Fail |
||||
1. Start Cytoscape 2. Import a network file (eg. galFiltered.sif) 3. Select the Edge Attribute Browser tab |
B2.2.1 |
1. Click Select Attributes 2. Check the appropriate attribute boxes eg. cannonicalName, interaction |
A new column for each attribute should appear in the panel |
|
|
|
|
B2.2.2 |
Select an edge and then select another edge while in the Edge Attribute Browser |
Attributes should change to those for each specific edge |
|
|
|
|
|
B2.2.3 |
Drag and select multiple edges |
Edges should be highlighted and their attributes listed |
|
|
|
|
|
B2.2.4 |
1. Select an edge 2. Double click on the text under one of the attribute columns 3. Edit the text of eg. interaction by changing the capitalisation the press enter |
The Browser should reflect the text changes and they should persist even if the node is unselected and then reselected |
|
|
|
|
|
B2.2.5 |
1. Drag and select several edges (say 5) 2. Click create a new (string) attribute and call it Names 3. Click on the Attribute batch editor and select the Copy tab, select interation from the Copy From menu and Names from the To menu 4. Click GO |
The contents of the Copy From cells should now appear in the new attribute column Names |
|
|
|
|
|
B2.2.6 |
1. Select the Clear tab from the Attribute batch editor box 2. Choose Names as the attribute column 3. Click GO |
The Browser should reflect the changes by showing no entries in the Names column |
|
|
|
|
|
B2.2.7 |
1. Select the Operation tab from the edge Attribute Batch Editor 2. Choose Set from the operation menu and choose the Names attribute as the column to edit 3. Type “Anabolic Activation” into the text field and click GO |
The Names attribute column should contain “Anabolic Activation” for all the selected nodes |
|
|
|
|
|
B2.2.8 |
1. Repeat step 1 from B2.2.7 2. Choose Replace from the operation menu and choose the Names attribute as the column to edit 3. Type “Phosphorylates” into the text field and click GO |
The Names attribute column should contain “Phosphorylates” for all the selected nodes |
|
|
|
|
|
B2.2.9 |
1. Repeat step 1 from B2.2.7 2. Choose To upper-case from the operation menu and choose the Names attribute as the column to edit 3. Click GO |
The Names attribute column should contain “PHOSPHORYLATES” or the text in the column should be all capitals |
|
|
|
|
|
B2.2.10 |
1. Repeat step 1 from B2.2.7 2. Choose To lower-case from the operation menu and choose the Names attribute as the column to edit 3. Click GO |
The Names attribute column should contain “phosphorylates” or the text in the column should all be lower case |
|
|
|
|
|
B2.2.11 |
1. Repeat step 1 from B2.2.7 2. Choose Add Prefix from the operation menu and choose the Names attribute as the column to edit 3. Type “De-“ into the text field and click GO |
The Names attribute column should contain “De-phosphorylates” or the text in the column should be preceded by “De-“ |
|
|
|
|
|
B2.2.12 |
1. Repeat step 1 from B2.2.7 2. Choose Add Suffix from the operation menu and choose the Names attribute as the column to edit 3. Type “-serine residues” into the text field and click GO |
The Names attribute column should contain “De-phosphorylates-serine residues” or the text in the column should be followed by “-serine residues” |
|
|
|
|
|
B2.2.13 |
1. Click create a new (Integer) attribute and call it Numbers 2. Repeat step 1 from B2.2.7 3. Choose Set from the operation menu and choose the Numbers attribute as the column to edit 4. Type “2” into the text field and click GO |
The Numbers attribute column should contain “2” |
|
|
|
|
|
B2.2.14 |
1. Repeat step 1 from B2.2.7 2. Choose Add Number from the operation menu and choose the Numbers attribute as the column to edit 3. Type “2” into the text field and click GO |
The Numbers attribute column should contain “4” |
|
|
|
|
|
B2.2.15 |
1. Repeat step 1 from B2.2.7 2. Choose Mul from the operation menu and choose the Numbers attribute as the column to edit 3. Type “2” into the text field and click GO |
The Numbers attribute column should contain “8” |
|
|
|
|
|
B2.2.16 |
1. Repeat step 1 from B2.2.7 2. Choose Div from the operation menu and choose the Numbers attribute as the column to edit 3. Type “4” into the text field and click GO |
The Numbers attribute column should contain “2" |
|
|
|
|
|
B2.2.17 |
1. Click the Import attributes from file icon in the Browser 2. Choose an edge attribute file to import (eg. galFiltered.edgeAttrs1) and click Open 3. Click Select Attributes and click on the check box for the name of the newly imported attribute (eg. TestEdgeAttribute1) |
Each edge selected should display either a 1, 2 or 3 in the TestEdgeAttribute1 column |
|
|
|
|