1
0
-1

I want to test my form's behaviour with different results from dynamic data services without publishing to TM. What tricks/tips have people been using to achieve this?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      In Maestro it is possible to identify whether the form is in preview mode or not by referencing Resource.preview.  You can then mock the desired results in the case that it is preview mode.

      if(Resource.preview){
      	//mock result of Dynamic Data Service
      }else{
      	//Dynamica Data call
      }
        CommentAdd your comment...