... | ... | @@ -703,3 +703,103 @@ While we had initial promising results from Tesseract(Google’s open-source Opt |
|
|
* Verify That:
|
|
|
* No budget is displayed
|
|
|
* Status: Pass
|
|
|
|
|
|
|
|
|
#### File
|
|
|
##### Test 1
|
|
|
* Pre instructions:
|
|
|
* delete data folder inside the app.
|
|
|
|
|
|
* Goal: To verify that the file page is the first page opened when starting the application
|
|
|
* Instructions
|
|
|
* Startup the application.
|
|
|
* Verify That:
|
|
|
* File is the first page loaded on startup
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 2
|
|
|
* Goal: To verify that a user cannot go to another page without opening a file
|
|
|
* Instructions
|
|
|
* Before creating a directory, try and navigate to different page
|
|
|
* Verify That:
|
|
|
* When no directories are in data, no sidebar displays, and the export button does not display. Only “Create new” and “Import” buttons are displayed.
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 3
|
|
|
* Goal: Verify that each a user must choose a name for a new file
|
|
|
* Instructions
|
|
|
* Click the create new button and Input nothing in the popup and click ok.
|
|
|
* Verify That:
|
|
|
* An error message should be displayed
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 4
|
|
|
* Goal: User cannot create a new file with an invalid name
|
|
|
* Instructions
|
|
|
* Click the “create new “button. Input an invalid name(string containing characters that are not numbers or letters or spaces) and click ok
|
|
|
* Verify That:
|
|
|
* An error message is displayed
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 5
|
|
|
* Goal: User can create a new file with a valid name
|
|
|
* Instructions
|
|
|
* Click the “create new” button. Input a valid name(string containing only number, letters and space ) and click ok.
|
|
|
* Verify That:
|
|
|
* The page refreshes and title of app displays the newly created database
|
|
|
* The new file is shown under recent files
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 6
|
|
|
* Goal: A user can export a file that can be shared.
|
|
|
* Instructions
|
|
|
* Click on the “Receipt Input” button on the sidebar and create one or more receipts with images.
|
|
|
* Click on the “Files” button and export the file to a target location.
|
|
|
* Verify That:
|
|
|
* A new file is created at that location with the extension “.cbmr” and the name is the name of the database
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 7
|
|
|
* Goal: User can select a pre-existing file to import
|
|
|
* Instructions
|
|
|
* Click on the “Import” button”.
|
|
|
* Navigate to where you exported the file from test 6
|
|
|
* Verify That:
|
|
|
*
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 8
|
|
|
* Goal: A user cannot use a pre-existing file name
|
|
|
* Instructions
|
|
|
* Select a“.cbmr” file created using a file created using the export button.
|
|
|
* Chose a name that is already in the database
|
|
|
* Verify That:
|
|
|
* An error is displayed
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 9
|
|
|
* Goal: User can import a file and it does not change their currently selected file
|
|
|
* Instructions
|
|
|
* Select a“.cbmr” file created using a file created using the export button.
|
|
|
* Select a file with a name that does not already exist in the database.
|
|
|
* Verify That:
|
|
|
* The page refreshes and the title has not changed. There is now a new selectable file to open with your chosen name.
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 10
|
|
|
* Goal: User can switch between files
|
|
|
* Instructions
|
|
|
* Click on the button under recent databases with the name of your newly imported database
|
|
|
* Verify That:
|
|
|
* Page should refresh and the title should change to the new file name.
|
|
|
* The imported file contains all the same information that was in the file that was exported. Can be validated through search.
|
|
|
|
|
|
* Status: Pass
|
|
|
|
|
|
##### Test 11
|
|
|
* Goal: Program saves last opened file, and reopens in when program is opened
|
|
|
* Instructions
|
|
|
* Close the program and reopen it
|
|
|
* Verify That:
|
|
|
* Your last opened file should be currently opened. Can be validated if the name is in the title and through search.
|
|
|
* Status: Pass |