Test coverage:
This test covers the usage of will confirm the following:
...
- are updated
- Tags are assigned to devices.
Testing procedure:
- During this test we will create a segment for each custom field that
...
- was added to your application and for tags which your application
...
- assigns each device when it is registered,
...
...
- Prepare a list of all custom fields that you have configured in your appapplication code, make sure these fields were added to you your application settings within Appoxee UI as seen below:
...
Create a segment for each on one of your custom fields and tags, you can use the steps mention in the the "Create a Segment for a Test Device article. " procedure (it is also possible to edit the segment each time changing the setup definitions and saving it).
below please find an example how to setup a segment based on a custom string field.
- Define a segment and define the rule "<your custom field> equals <your device's value>" and save it. Verify that . You can do the same test for your tags.
- Send your device a push Push notification, use the custom fields within the message content by Setting up "Custom Fields"For example, assuming you have set the custom field "F_name", create a push notification, and edit the following content: "Hi {F_name}, thank you for using our app". Send the push notification to yourself (you can use the segment created in step #3), and see that your device receives the a push notification with the text "Hi <your name as listed in the database>, thank you for using our app".
- please make sure to check the Confirm the following:
- The format of your custom fields are exactly the same as in your app. For example, the parameter "F_name" will be configured in the same format in the app's settings (in the dashboard) and in the app's code.
- You have defined the custom fields according to the correct custom field type: numeric, date, string, boolean (for tags).
Expected result:
- Confirm that following a segment creation the segment shows "push enabled" equals at least 1
- Verify that Installs and Push Enabled are updated to 1.
- The
result - content of the
push notification in the - Push notification when presented on your device includes the custom filed data.