Scripts are comprised of two components; Steps and Actions.
Steps should relate to a single page on the target website. All Actions within a Step should relate to the page the User Journey is interacting with at that stage. This is important as it helps with dealing with failures, analysing results and maintaining the scripts in the future.
For example, this User Journey will check that a search box is functioning as expected:
Step 1 only contains actions which interact with the homepage. The start of the second step initiates the loading of the next page – this is important as it ensures the performance data that we record is separated into Steps according to the page that is being loaded and interacted with.
More on this in the Best Practices Section.