File Open
CaseNo. |
Inputs |
Expected Outputs |
Remarks |
Result |
1 |
File -> Open Files of type: ptj File: Test1.ptj (drawing items only) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with .ptj extensions are faithfully represented after being saved with drawing objects. ( From DrawingQA non tool tests). |
Pass |
2 |
File -> Open Files of type: all File : Test1.ptj (drawing items only) |
|
Ensure that files with .ptj extensions are faithfully represented after being saved with drawing objects. |
Pass |
3 |
File -> Open Files of type: all File : Test2 (drawing items only) |
|
Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with drawing objects. |
Something going on with .jdr extensions. |
4 |
File -> Open Files of type: all File : Test2 (drawing items only) + image |
|
|
Pass |
5 |
File -> Open Files of type: ptj File: Test2.ptj (component items only) |
A JFileChoser menu with the default file type shown being .ptj A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with .ptj extensions are faithfully represented after being saved with components. |
Save fails |
6 |
File -> Open Files of type: all File : Test2.ptj (component items only) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with .ptj extensions are faithfully represented after being saved with components. |
Save fails |
7 |
File -> Open Files of type: all File : Test3 (component items only) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with components. |
Save fails |
8 |
File -> Open Files of type: ptj File : Test8.ptj (components and drawing objects) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with .ptj extension are faithfully represented after being saved without explicit file extensions, with components and drawing objects. |
Save fails for components |
9 |
File -> Open Files of type: all File : Test8.ptj (components and drawing objects) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with .ptj extensions are faithfully represented after being saved with components and drawing objects. |
Save fails for components |
10 |
File -> Open Files of type: all File : Test10 (components and drawing objects) |
A JFileChoser menu with all files being shown. A file selection of this type should create a new CanvasWindow with the Appropriate content. |
Ensure that files with no extension is faithfully represented after being saved without explicit file extensions with components and drawing objects. |
Save fails for components |
11 |
File -> New Files of type: all File : randomFile.xls
|
A JFileChoser menu with all files being shown. A message that the file cannot be interpreted by protoj |
Test behavior with non application file type. |
Opens a new workspace named as the non protoj file requested. Any attempt to manipulate the file damaged it such that Xcel could no longer read it. |