Mobile SDK > Testing a mobile application > Testing a connected or partially connected application
 
Testing a connected or partially connected application
The testing process for a connected mobile interviewing application includes authoring and activating a web test project, emailing (or messaging) the URL to respondents, running interviews, and analyzing the data.
A survey test includes specific test points. An MDD file is also provided for testing connected or partially connected applications.
Survey test points
The following survey attributes must be tested.
Page rendering
When simple question types are used (including database questions), test to determine whether the survey page is rendered with the corresponding UI controls. For compounded questions (grid, loop, block, and page), test if they can be separated to simple question types and rendered correctly.
Question data type
UI control
Single response (categorical)
Radio button list
Multiple response (categorical)
Check box list
True or false (boolean)
Check box or other switch control
Numeric (long or double)
Text box or other numeric input control
Text
Text box
Date/time (date)
Text box or other calendar control
Display text (info)
Display only text
Answer submission
For simple question types, the user submitted responses are switched to the next routing question. For compounded question, the next subquestion is located.
Validation errors
Every response that is submitted to UNICOM Intelligence Interviewer - Server Admin is validated on the server. When errors occur, the application UI displays the error information in a prominent location with striking fonts and color. There is no server validation for compounded questions because the subquestion responses are submitted to local storage. However, some level of local validation, for input values, is required.
Page navigation
Next navigation: For simple question types, next navigation switches to the next routing question. For compounded question, the next subquestion is located.
Previous navigation: For simple question types, previous navigation switches to previous routing question. For compounded question, the previous subquestion is located.
Stop navigation: This navigation stops the survey.
Templates
When the mobile interviewing players use the same metadata document template to implement the survey UI, the following template types must be tested:
Layout - available on Routing and Question
Question
Banner
Error
NavBar
Styles
When the mobile interviewing players use the same metadata document style to implement the survey UI, the following template types must be tested:
Question
Category
Navigation
Labels
When the mobile interviewing players support rendered WYSIWIG content, for Labels that are defined in the metadata document, the following points must be tested:
HTML tags
Escape characters
Insertion points
Routing and expressions
For connected mobile interviewing players, all routing types and expressions must be tested because they all are evaluated on the UNICOM Intelligence Interviewer - Server Admin server.
Test MDD file
The provided IBMMOBILESURVEYS.mdd sample file can be used for testing connected and partially connected mobile applications.
The file includes simple questions and a grid question (TeaKnowledge). All simple questions render with their corresponding UI controls; the grid question must be separated into simple questions. The subquestion responses are gathered individually in the survey.
The sample file's routing includes expressions and script items, all of which must run correctly.
See also
Testing a mobile application