Custom Graphics Feature Test
Custom Graphics Manager
Preparation
Download the following icon set for testing:
ecqlipse 2 - Subset is available icons1.zip
- By Christian F. Burprich
- Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Results |
1. Start Cytoscape |
|||||
CG1.1 |
1. Select View → Open Custom Graphics Manager |
Custom Graphics Manager dialog should appear on the top of Desktop |
|
|
|
CG1.2 |
1. Open web browser (preferably Firefox) and open a web page with some images |
The dropped image appear as an icon on the list |
|
|
|
CG1.3 |
1. Click the new image on the list |
The image should appear in original size and it should be draggable. |
|
|
|
CG1.4 |
1. Click the + button on the bottom of dialog |
All of the icons in the original folder should appear in the Custom Graphics manager list |
|
|
|
CG1.5 |
1. Select any image from the list |
Image should be rescaled to 32 by 32. Make sure height and width are equal |
|
|
|
CG1.6 |
1. Uncheck Aspect Ratio checkbox |
Image should be rescaled to 32 by 50. |
|
|
|
CG1.7 |
Press Original button |
Image should be rescaled to the original size (for sample icons, 128 by 128). |
|
|
|
CG1.8 |
Press - button on the bottom |
The icon should be removed from the list and disappear from the Actual Size View |
|
|
|
CG1.9 |
1. Select multiple icons on the list (use shift or CTR/Command key for multiple selection) |
Selected images should be removed from the list |
|
|
|
CG1.10 |
1. Click Name textbox |
The new name should applied to the image. This should be remain the same even after you select other images and re-select it again. |
|
|
Edit Default Appearance with Multiple Custom Graphics
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Results |
Finish the Custom Graphics Manager tests above |
|||||
CG2.1 |
1. Click VizMapper tab on the Control Panel |
Custom Graphics selector should appear. It should contains all images imported in the tests above. |
|
|
|
CG2.2 |
1. Select one of the images from the list |
Selected image should be applied to the default view |
|
|
|
CG2.3 |
1. From the Node Default Visual Properties list, locate NODE_CUSTOM_GRAPHICS_POSITION_1 and click it |
Selected image should be moved to the location you specified |
|
|
|
CG2.4 |
Repeat CG2.2 - CG2.3 for Custom Graphics 2-9. |
All Custom Graphics should appear in the correct location. |
|
|
|
CG2.5 |
Press Apply |
All changes made to the Default Appearance should be appear in the current network view |
|
|
Create Basic Custom Graphics Mapping
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Results |
Finish Edit Default Appearance with Multiple Custom Graphics tests above |
|||||
CG3.1 |
1. Click VizMapper tab on the Control Panel |
Empty Discrete Mapping for Custom Graphics 1 should appear on the GUI |
|
|
|
CG3.2 |
1. Click a cell next to a node ID |
The new map should be applied to current network view |
|
|
|
CG3.3 |
1. Select some nodes from the Discrete Mapping list created above |
Current network view should reflects the change you made to the Discrete Mapping |
|
|