25 Oct 2019 10:52 AM
HI All,
In the old synthetic system, there is the option to have multiple wait times on a synthetic action. ie you could wait for Network activity to finish and then wait a further defined time period (3 sec for example) This allowed us to give time for the heavy ajax applications to request additional data etc etc.
Is it possible to have multiple wait times like this in the new system? I can't do it in the GUI from what I can see and I get errors when I try to put multiple wait times in the json script (I fully admit to not being a json expert so could just be my way of doing it)
Many thanks
Solved! Go to Solution.
25 Oct 2019 11:09 AM
Hi Geoff,
yes, we can chain waits in Dynatrace Synthetic also. There are 2 ways to do this:
1) Add a JavaScript event
don't put any code in, just set the wait that you want.
2) Add a click event
Set the wait to the type you would like. You can then set the locator for the click event to be
CSS body
Best wishes, Hannah
25 Oct 2019 11:28 AM
Thanks Hannah, that's great!