Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Test coverage: 

This test covers the usage of Custom fields and Tags based on segmentation.

During this test we will create a segment for each custom field that were added to your application and for tags which your application is set to add into each device when it is registered,

 

Testing procedure:

  • Prepare a list of all custom fields that you have configured in your app, make sure these fields were added to you application settings within Appoxee UI as seen below:

  • Create a segment for each on of your custom fields and tags, you can use the steps mention in the Create a Segment for a Test Device article. it is also possible to edit the segment each time changing the setup 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 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 following:
        1. 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.
        2. 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
  • The result of the push notification in the device includes the custom filed data. 
  • No labels