Data Driven Audio Test Cases enable you to dynamically select audio files for the same Test Case.
To allow the Test Case to select an audio file dynamically for the
Reply with field of a Step, select an existing
or a new Test Case and click the
Audio File button in the
Reply Type field, and a pop-up as shown below
- Select the audio file and click OK.
- On the Choose Audio File window, select the Data Driven tab and enter a parameter name in the Data Driven Parameter text box and click OK.
Choose Audio File window, select the
File Detail tab to view the details of the
Example Data Driven Audio Test Case
Create a CSV file containing the names of the audio files. The
first row of the CSV file must specify the name of each data driven parameter;
step2. All data must be enclosed within double quotation marks. A sample CSV file is as shown:
If the audio file is in a subfolder, it has to be included in the Data driven file as shown above.Note:
Ensure that the data file structure does not exceed 500, 000 fields to avoid performance overload. This could be in the form of 5 colums and 100000 rows or 10 columns and 50000 rows, or 100 rows and 5000 columns and so on.
Once the CSV file has been created, import the data within the
CSV file into the Cyara Web Portal by browsing for the CSV file and then click
Upload button as shown in the figure below:
Once you have uploaded the CSV file successfully, the following
screen is displayed:
It is important to upload all the referenced audio files to the Portal before running the Test Case.Your data driven audio file Test Case is now ready to be validated and run in a Campaign.
Identifying Missing Audio Files in Data Driven Test Cases
Before commencing a test that uses data driven audio files, it is advisable to check that there are no missing audio files.
- To identify the missing files, open the View Audio Files page. To do this, click Audio Files under the Tools in the top navigation bar.
To display the missing files, click the
Identify Missing Audio Files button. A list
of missing files, along with the names of their associated Test Cases, is
displayed at the bottom of the
View Audio Files page. These files can then
be uploaded and associated with the Test Cases.
Data Driven Audio Files Walkthrough Video
The video below shows an example scenario where Audio Files are supplied to a Test Case using a Data Drive.