== Network Analyzer Test Cases == || '''Preconditions'''|| '''Test Case ID'''||'''Instructions'''||'''Expected Results'''|| '''Date Executed'''||'''Pass/Fail'''|| ||<|12> 1. Start Cytoscape<
>2. Load galFiltered.sif ||NA1||Run ''Analyze Network'' command as undirected|| It pops up a new result dialog and creates several new statistics as table data || 7/2/2012 || Pass || ||NA2||Run ''Analyze Network'' command as directed|| It pops up a new result dialog and creates several new statistics as table data. It should creates new columns valid only for directed craphs (like inDegree/outDegree) || 7/2/2012 || Pass || ||NA3|| Select some nodes and edges and then run ''Analyze Subset of Nodes'' command as undirected || It pops up a new result dialog and creates several new statistics as table data || 7/2/2012 || Pass || ||NA4|| Select some nodes and edges and then run ''Analyze Subset of Nodes'' command as directed|| It pops up a new result dialog and creates several new statistics as table data. It should creates new columns valid only for directed craphs (like inDegree/outDegree) || 7/2/2012 || Pass || ||NA5|| Run ''Batch Analysis'' command for a directory with several network files || || 7/5/2012 || Fail || ||NA6|| Repeat NA1 and save the result to a file. Then load the file from ''Network Statistics'' menu || || || || ||NA7|| Select ''Plot Parameters'' and make sure all buttons works with the newly created paramaters || || || || ||NA8|| Select ''Visualize Parameter'' menu and select ''Degree as Node Size and Color, and ''Edge Betweenness'' to Edge Width and Color || New Visual Style should be created and update current network view || 7/3/2012 || Pass || ||NA9|| Open ''!NetworkAnalyzer Settings'' panel and edit color scheme for Visualization. Then Repeat NA8 || Visualization result should reflect the changes in the setting panel || 7/3/2012 || Pass || ||NA10|| Open ''About'' dialog for Network Analyzer || It pops up about dialog || 7/2/2012 || Pass || ||NA11|| Open ''Compare Two Networks'' command and select all check boxes || || 7/2/2012 || N/A (Disabled because network merge has similar function) || ||NA12|| Select ''Connected Components'' command and extract some subcomponents || || 7/3/2012 || Pass || == Command Test Cases == || '''Preconditions'''|| '''Test Case ID'''||'''Instructions'''||'''Expected Results'''|| '''Date Executed'''||'''Pass/Fail'''|| ||<|2> 1. Start Cytoscape ||CM1||Load a sample command file||Script runs and creates a new network|| || || ||CM2||Select List All Commands menu||A dialog appears and all commands should be displayed|| || || == Scripting Test Cases == || '''Preconditions'''|| '''Test Case ID'''||'''Instructions'''||'''Expected Results'''|| '''Date Executed'''||'''Pass/Fail'''|| ||<|2> 1. Start Cytoscape || SC1||Load a [[https://github.com/keiono/cy3-scripts/blob/master/javascript/complete_graph.js|sample script]] to create complete graph || Script creates a complete graph with 20 nodes. || 7/5/2012 || Pass || || SC2 || Run the same script from gogo shell by typing '''''cytoscape:script javascript SCRIPT_FILE_NAME''''' || Script creates a complete graph with 20 nodes. || 7/5/2012 || Pass || == Network Merge Test Cases == || '''Preconditions'''|| '''Test Case ID'''||'''Instructions'''||'''Expected Results'''|| '''Date Executed'''||'''Pass/Fail'''|| ||<|3> 1. Start Cytoscape <
> 2. Import two network files: (rual.sif and RUAL.subset.sif) <
>3. Click on Plugins and select Advanced Network Merge <
>4. Select each network from the available networks box and then click the right arrow to move them to the selected networks box. <
>5. Click OK to merge the selected networks (Note: with large networks Cytoscape may not automatically create a graphical view, so click on the Edit menu with the network highlighted and click on Create View)||GM1||Before precondition step 5 select the Union operation||A new graph should be created displaying the merged networks (If this does not happen see preconditions Note)|| 7/9/2012 || Pass || ||GM2||Before precondition step 5 select the Intersection operation||A new graph should be created displaying the common nodes from the two networks|| 7/9/2012 || Pass || ||GM3||Before precondition step 5 select the Difference operation (order matters)||A new graph should be created displaying the parts of the first network that are not in the second network|| 7/9/2012 || Pass ||