Step 2

Ensure that the Script doesn't play until the Message(s) and/or Browser Action(s) have completed.

If you are using a Sequenced Test Clip, this will always be the case and there is nothing special to do.

If you are using a Timed Test Clip, then you must either put the Message(s) and/or Browser Action(s) and the Script together into a Chain or else put a Checkpoint before the Script. You could also insert a Delay before the Script that you know will always be long enough, but this may not be consistently reliable if the play times of your Message(s) and/or Browser Action(s) vary.