Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Results

1. Start Cytoscape
2. Import a network file (e.g. galFiltered.sif)
3. Click on File from the toolbar

FM1.1

Select New → Network → Empty Network

A new empty network canvas should appear called Network and it should appear in the list under the Networks tab in the control panel

FM1.2

1. Hold shift and click on 5 nodes near each other
2. Select New → Network → From selected nodes, all edges

A new network canvas, with the selected nodes and all the edges that connect them, should be created

FM1.3

1. Drag and select several nodes and edges
2. Select New → Network → From selected nodes, selected edges

A new network canvas with only selected nodes and edges should be created

FM2

Select New → Session, click Yes when the caution box appears

A new session should be started with a clear canvas and no networks

FM3

Select Open and choose the galFiltered.cys session file from the sampleData directory

A session file with the galFiltered.gml network imported should be displayed

FM4

Click Save

Cytoscape should save your progress to the current session file (galFiltered.cys)

FM5

1. Click Save As… and type “galFiltered1.cys” into the text field
2. Click Save

Cytoscape should create a new .cys file with the name entered in the specified directory

FM6

Select Print and choose the appropriate printer and desired settings and then click print

A print out of the currently selected network should be produced

FM7

1. Select Quit and click Yes, save and quit
2. Start Cytoscape and load the .cys file

The .cys should contain the latest version of the test session with all the changes saved before quitting

UI Test Cases for File Menu - Import sub menu

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

1. Start Cytoscape
2. Import a network file (e.g. galFiltered.sif)
3. Click on File from the toolbar

FM9.1

1. Select Import → Network (multiple file types)…
2. Choose the galFiltered.xgmml file from the sampelData directory and click Import

A new version of the galFiltered network should appear in a different window

FM9.2

Import Network from Table (Text/MS Excel) is covered under the Table Import core plugin test cases

FMFM9.3

Select Import -> from web services, enter a valid gene and select the organism. Select the gene from the list that is produced and hit 'Retrieve Interactions' button, click ok on the window that appears

The network of genes related to the entered gene should appear

FM9.4

Importing node attributes is covered under the Node Attribute Browser core plugin test cases

FM9.5

Importing Attributes from Table (Text/MS Excel) is covered under the Browser Core Plugins Test Cases

FM9.6

Importing edge attributes is covered under the Edge Attribute Browser core plugin test cases

FMFM9.7

1. Select Import → Ontology and Annotation…
2. Select Gene Association File for Saccharomyces cerevisiae from the Annotation menu and leave the default setting for Ontology
3. Select one of the galFiltered networks and click on Go common Name from the Node Attribute Browser Select Attributes menu

Cytoscape should show a large network under the Networks tab in the Control Panel (view not created due to size) and there should be new attributes available for selection in the Node Attribute Browser

FM9.8

Importing an Attribute Expression Matrix is covered under the Node Attribute Browser core plugin test cases

FM9.9

1. Select Import → Vizmap Property File…
2. Choose sampleStyles.props from the sampleData directory and click Open

All the nodes in the galFiltered network should be light gray with no border and each edge should be a black line labelled with the type of interaction that it represents

FM9.10

1. Select Import → Import Attributes from Biomart…
2. Select ENSEMBL GENES xx (SANGER UK) – Saccharomyces cerevisiae genes (SGD1.01) (where xx is the latest version of ENSEMBL data set) from the Data Source menu and ENSEMBLE Gene ID from the Data Type menu
3. Click EntrezGene ID check box on the list of available attributes and click Import
4. Select one of the galFiltered networks and click on the new attribute from the Node Attribute Browser Select Attributes menu

New attributes EntrezGene ID and EntrezGene ID-TOP should be available for selection under the Node Attribute Browser

FM9.11

1. Select Import → Import Attributes from NCBI Entrez Gene…
2. Select EntrezGene ID-TOP for Attribute
3. Select all of the items in the Available Annotation Category
4. Click Import
5. Select one of the galFiltered networks and click on Pathway in the Node Attribute Browser Select Attributes menu

New attributes should be available for selection under the Node Attribute Browser and some of the nodes should have KEGG Pathway information.

UI Test Cases for File Menu - Export sub menu

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (e.g. galFiltered.sif)
3. Click on File from the toolbar

FM10.1

1. Select Export → Network and attributes as XGMML…
2. Save as Test1.xgmml
3. Close Cytoscape and restart it, Select Import → Network (multiple file types)… and import Test1.xgmml

Test1 should be an exact copy of the network exported before restarting Cytoscape

FM10.2

1. Select Export → Network as GML…
2. Save as Test2.gml
3. Select Import → Network (multiple file types)… and import Test2.gml

Test2 should be a copy of the network exported but should have slightly different features (e.g. Background)

FM10.3

1. Select Export → Network as SIF File…
2. Save as Test3.sif
3. Select Import → Network (multiple file types)… and import Test3.sif

Test3 should be a copy of the network exported and should be exactly the same as galFiltered.sif

FM10.4

0. Load galFiltered.cys
1. Select Export → Node Attributes
2. Click the "Ensembl Family ID" check box from the list of attributes
3. Click Choose Directory and Save, select the desired directory and click Choose

Verify that the attributes were saved by opening the attribute file in a text editor, the file should contain a list of the gene IDs from the network and their corresponding GO common names

FM10.5

1. Select Export → Edge Attributes
2. Click the interaction check box from the list of attributes
3. Click Choose Directory and Save, select the desired directory and click Choose

Verify that the attributes were saved by opening the attribute file in a text editor, the file should contain a list of the edge IDs from the network and their corresponding interactions

FM10.6

1. Create a copy of the current visual style and give it a new name
2. Change the node color for the copied style
3. Select Export → Vizmap properties
4. Type Test4.props as the file name, choose the appropriate directory and click save
4. Exit Cytoscape and restart it
5. Import galFiltered.sif and Import → Vizmap Property File…
6. Change the visual style to the imported style

The node colours should change to those of the visual style that was saved

FM10.7

1. Select Export → Network as Graphics…
2. Click Choose and type Yeast Network as the file name and click Save
3. Leave the Format as PDF and Click OK
4. Open Yeast Network.pdf in a PDF reader

The PDF should contain a screen shot of the portion of the network visible in the canvas

FM10.8

1. Repeat steps 1 & 2 from FM10.7
2. Select .PNG from the format menu and click OK
3. Leave the bitmap settings as default and click OK
4. Open the Yeast Network.png in a picture viewer

The PNG should contain a screen shot of the portion of the network visible in the canvas

FM10.9

Export of PSI-MI 1.0 under construction

FM10.10

Export of PSI-MI 2.5 under construction

Master Test Plan/UI Test Cases/File menu (last edited 2010-07-13 19:51:27 by barbera)

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