Skip to content

Basic Regression Testing Flow app

Jana Gombitova edited this page Nov 22, 2016 · 1 revision

Basic Verification

  1. If old version of app installed, confirm prompt notifies of new version and that it can be installed
  2. If not already installed, confirm the latest version of the apk from /app2 link can be installed
  3. Confirm device id and name set up in preferences correctly

Survey acquisition

  1. If valid assignment created previously, then opening app should fetch all test surveys
  2. Click options and select to download form by id
  3. Enter the id for a random form - select any from the dashboard
  4. Confirm this is fetched

It can be useful to have some sort of fake GPS application installed when performing the following steps, as this prevents all map points appearing in the one place

Monitored surveys

  1. Select the MF survey which was assigned
  2. Create new data point
  3. Complete the registration forms and submit
  4. Make sure the data point name is only generated from the free text question response and not also from number question
  5. Re enter the data point and complete the other form
  6. Submit at least two responses for this form
  7. Create another 2+ data points and repeat process
  8. Check that 'Search' and 'Sort' work properly when looking at the list of data points.
  9. Open the 'Map' tab, check the data points show on the map and click on one of the points, check its 'History'.

Non Monitored Surveys

  1. Select the all questions survey
  2. Create a new data point and answer all questions
  3. Submit
  4. Create and submit several more responses, making sure that a few of them include repeated groups
  5. Ensure that question types like cascade and signature can not be submitted half completed
  6. Check that translations can be selected and are properly shown on the screen (multiple langugages at once, oswitch languages)
  7. Select the dependent questions survey
  8. Create new data point
  9. Ensure that the dependencies work as expected
  10. Submit
  11. Select the mandatory questions survey
  12. Create new data point
  13. Answer questions, ensuring double entry complains if not matching
  14. Submit
  15. Repeat for mandatory questions 5+ times (at least 5 data points at end)

Form version check

  1. Go to dashboard and open <release version> mandatory questions survey
  2. Add two geoshape questions
  3. Publish and check the version number is updated
  4. Close the app and make sure it is not running in the backend of the phone
  5. Re-open the app and confirm a form is being automatically downloaded
  6. Open <release version> mandatory questions survey and create a new point.
  7. Confirm the version of the form is updated in the header and the form holds the 2 new geoshape questions.
  8. Submit a few new data points

Bootstrap

  1. Remove application and delete the data folders from your sd card
  2. Re-install the application but don't open it
  3. Move a bootstrap file to the inbox folder on your sd card
  4. Put the phone in airplane mode
  5. Open application and confirm surveys are bootstrapped as expected