Summary
When creating Dynatrace Browser Clickpath Synthetic monitors, it’s sometimes necessary to tab out of a field to trigger validation, focus changes, or follow‑up events in a web application.By default, the Synthetic Recorder doesn’t explicitly capture a tab‑out action. This article explains how to manually add a tab key (\t) to a keystroke event so the Browser Clickpath behaves as expected during execution.
How to Tab Out of a Field in a Browser Clickpath Monitor
Step 1 – Open the Recorded Clickpath
Open the Browser Clickpath Monitor> Settings > Recorded clickpath page
Step 2 – Update the Keystroke Event
Locate the keystroke event for the input field and append \t to the existing keystrokes.This simulates pressing the Tab key, forcing the Browser Clickpath to move focus to the next element during execution.
Step 3 – Save and Test the Monitor
- Click Save Changes
- Playback the monitor to confirm the update works in you scenario
Troubleshooting and Advanced Scenarios
If tabbing out of a field doesn’t trigger the expected behavior, the application may rely on additional JavaScript events (such as blur, change, or custom handlers).
In these cases, consider triggering the required events using a JavaScript event in the Browser Clickpath, as described in How to perform a click event using Javascript on browser clickpath synthetic monitors.
Frequently Asked Questions
Why isn’t tabbing out recorded automatically?
The Dynatrace Synthetic Recorder captures keystrokes but doesn’t always record focus‑change actions like tabbing out of a field. Adding \t manually ensures the action is executed consistently.
Is this supported in Browser Clickpath Synthetic monitors?
Yes. Browser Clickpath monitors support manually updating keystroke events, including adding special characters such as the tab key.
When should I use JavaScript instead of a tab key?
Use JavaScript events when tabbing out doesn’t trigger the required application behavior, or when multiple events must be fired to simulate a real user interaction.
What’s Next
If the previous steps don’t resolve the issue, open a chat and provide a link to the monitor, along with the troubleshooting steps you have already completed.
Related reading
How to perform a click event using Javascript on browser clickpath synthetic monitors
