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 ScenarioTest stepsExpected Results
1Launch App1. 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.
2Open a file existing in the mobile device.1. Open a text file by browsing the phone/tab1. The app should have the option to browse in the phone/tab.
2. The text of the file should appear on the screen
3Open a file from google cloud1. 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.
4Open a different format of filesOpen different format of text like .doc, .docx, .pdf etcAll readable formats should be supported in the app.
5Open 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.
6Open corrupt fileOpen a corrupt file in the app1. The app should show some error.
2. The app should not hang/crash while opening the corrupt file.
7Connection drop while opening a file from google cloudOpen 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.
8Incoming call/text when opening a file1. 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.
9The narration of text from a filePlay the narration of the text.Verify the pronunciation and correctness of the narration.
10Language supportedOpen a file written in another language than English and play the narration1. Supported language should be narrated only.
2. For unsupported language, it should show an error.
11No reading of offensive wordsOpen a text file which has some offensive word writtenThe app should not speak those words loud and should skip them.
12Volume control of the narration1. 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.
13Incoming call/text when the app is narrating1. 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.
14Sleep/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.
15Minimizing of app1. 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.
16Close of app1. 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.
17Pause functionality of narration1. 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.
18Network 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 ScenarioTest StepsExpected Results
1No reading of sensitive dataWrite a text having sensitive data like password, SSN, etc
example: my password is abcdefg
The app should skip reading any user sensitive data.
2Password-protected filesTry to open a password protected fileA password-protected file should only open upon giving a password.
3No 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.