In this article
You can test your survey without having to generate a database. This allows you to perform manual tests in test mode while avoiding time-consuming database and WI generations. You can perform a test for the entire survey by starting from the survey folder, or you can start from any particular question or node.
- In the Survey tree, right-click on the survey folder or on the question/node from which you want to start the test.
- From the menu, select Quick Test, then select the type of test you wish to perform.
The interview opens in the pane on the right - , as in the example shown below.
Figure 1 - Example of the quick test
You can then test the interview, moving backwards and forwards depending on your Survey settings, in the same way as with a live survey. You can also double-click questions in the tree to skip directly to them. When you have finished testing the survey, click Exit Quick Test to close the test page and return to the Designer.
Your responses will be stored in the current session. This means that if you re-enter the Quick Test function during the same authoring session, your previous responses will still be there.
- If you make changes in the Survey, select Quick Test (with rebuild) to apply the changes and test further with the same responses.
- If you want to remove all responses and test the survey as a new respondent, select Quick Test (new respondent).
- If you make changes to the survey and wish to test the survey as a new respondent, select Quick Test (rebuild and new respondent).
Note: Hidden questions (go to General for more information) are shown in Preview and Quick Test, with the text "HIDDEN DATA" alongside to identify them, so you as the author can ensure they function correctly.
Note: Quick test also automatically runs "Check Script Code" before opening the interview, so you will receive immediate notification in the event of syntax errors.
Test Interview Mode
When you launch a survey in the Test mode, on successful completion of the launch you will be presented with a summary of the task along with a line informing you which language the survey was deployed in. The language indicator is a link, and if you click on this link you will be taken to the Test Interview page. This page includes the Survey Tree - .
Figure 2 - Example of the Test Interview page for a survey
Right-click on the survey name in the Survey Tree to open a drop-down menu with a number of options - .
Figure 3 - The Test Interview mode right-click menu
The menu items are as follows:
- Set Survey Parameters - opens a page in which you can set up any parameters you may require for your survey URL - (go to Setting Portal, Theme and Language Via Parameters in the URL for more information).
Figure 4 - The Set Survey Parameters page
When setting the Survey Parameters you will be presented with a brief explanation of how to use the functionality.
- Test with New Respondent - any responses that you provide to the survey during testing will be remembered during the current Authoring session. Select this item to restart the interview (in the test mode) for a new respondent. I.e. any previously entered answers are cleared.
- Refresh - refreshes the screen.
- Expand/Collapse All - expands or collapses the Survey Tree.
Note that while the database is in the Test mode the language test link is also available in the upper-left corner of the Survey Settings > Web Options tab - . This allows you to reenter the Test Interview mode at any time.
Figure 5 - The language link in the Survey Settings > Web Options tab