Text-To-Speech Application
Hello All
There are so many interactive apps are available in the App/Play store. One of the exciting apps is the Text to Speech App. This app takes the input in the form of text and provides the output in audio, making our reading material more like audiobooks.So how does this app works?
The users can open a text file stored in the device or from the google cloud and choose to listen to it aloud through this app.
Here I am writing some test cases regarding its functionality and Security.
Functional Testing:
Test Scenario | Test steps | Expected Results | |
---|---|---|---|
1 | Launch App | 1. Launch the app from the play store/ App Store in the below device. a. Android phone. b. Android tab. c. iOSphone d. iPad 2. Verify the UI of the app in different sizes of devices. | 1. The app should be available in the app/play store. 2. The app should open no less than 3 secs. 3. The UI should be as per standard. |
2 | Open a file existing in the mobile device. | 1. Open a text file by browsing the phone/tab | 1. The app should have the option to browse in the phone/tab. 2. The text of the file should appear on the screen |
3 | Open a file from google cloud | 1. Have text files saved in google cloud. 2. Open the file from google cloud. | 1. The app should have the option to browse google drive. 2. The text to the file should appear on the screen. |
4 | Open a different format of files | Open different format of text like .doc, .docx, .pdf etc | All readable formats should be supported in the app. |
5 | Open big files of size in GB. | Open a 20 GB of a text file. | The app should allow/not allow the opening of the file based on the requirement of limit in size. |
6 | Open corrupt file | Open a corrupt file in the app | 1. The app should show some error. 2. The app should not hang/crash while opening the corrupt file. |
7 | Connection drop while opening a file from google cloud | Open a 1 GB file from google drive. While the opening of the file is in progress, Put the device into flight mode or disconnect the internet. | The app should immediately show an error and should not hang/crash. |
8 | Incoming call/text when opening a file | 1. Open a 1 GB file from google drive. 2. While the opening of the file is in progress, make a phone call to the device. | The incoming call should not disrupt the opening of the file and the process should continue in the back end. |
9 | The narration of text from a file | Play the narration of the text. | Verify the pronunciation and correctness of the narration. |
10 | Language supported | Open a file written in another language than English and play the narration | 1. Supported language should be narrated only. 2. For unsupported language, it should show an error. |
11 | No reading of offensive words | Open a text file which has some offensive word written | The app should not speak those words loud and should skip them. |
12 | Volume control of the narration | 1. Start narration of a text file. 2. While the narration is in progress, Adjust the volume on the device. | The volume should get adjusted properly. |
13 | Incoming call/text when the app is narrating | 1. Start narration of a text file. 2. While the narration is in progress, make a call to that device. | Narration should be paused and gives the user the option of a resume once the call is ended. |
14 | Sleep/Screen lock of the phone when the app is narrating. | 1. Start narration of a text file. 2. While the narration is in progress, lock the device screen. | The app should behave as per requirement. If it is supposed to stop it should, otherwise it should continue reading. |
15 | Minimizing of app | 1. Start narration of a text file. 2. While the narration is in progress, minimize the app. | The app should behave as per requirement. If it is supposed to stop it should otherwise it should continue reading. |
16 | Close of app | 1. Start narration of a text file. 2. While the narration is in progress, close the app. Open it again. | The app should not keep the last opened file. |
17 | Pause functionality of narration | 1. Start narration of a text file. 2. While the narration is in progress, try to pause it. | The app should have the option to pause the narration at any point in time. |
18 | Network disconnection while the app is narrating. | 1. Start narration of a text file. 2. While the narration is in progress, disable the internet. | The app should pause narrating. |
SECURITY TEST CASES:
Test Scenario | Test Steps | Expected Results | |
---|---|---|---|
1 | No reading of sensitive data | Write a text having sensitive data like password, SSN, etc example: my password is abcdefg | The app should skip reading any user sensitive data. |
2 | Password-protected files | Try to open a password protected file | A password-protected file should only open upon giving a password. |
3 | No reading of bank statements and confidential doc. | 1. Open a document containing a Bank statement. 2. Try to read it. | The app should not read doc like a bank statement. |