Use the Web Recorder to create tests for all test types and agents.
To use the Web Recorder, you must open the Dynatrace Portal in the Chrome browser.
To create a test that doesn't begin by navigating to a web page, see Creating an advanced script.
Select > Tests, then click Create test at the top of the Tests page.
Continue with the procedure for the selected test type(s):
The first time you use the Web Recorder, you are prompted to add the required Chrome extension when you open the Web Recorder. Click Add Dynatrace Web Recorder to Chrome. When prompted to Add Dynatrace Recorder, click Add extension.
- Select the desired combination of Backbone, Last Mile, and Private Last Mile tests and agents.
- Click Continue to proceed to the Specify Scripts or URLs page.
- Select Record a Transaction, then click Open Web Recorder.
- Continue with Record the Transaction, below.
Select Mobile, then click Continue to proceed to the Choose Networks page.
Select one or more networks, then click Continue.
On the Specify Scripts page, select Record a Transaction, then click Open Web Recorder.
On the Record a Transaction page, select the mobile device to emulate.
Click the downward-facing arrow for Device settings, click the list arrow, select the device, and click Save Selected Device.
Specify a location.
Click the downward-facing arrow for Geolocation settings, click the list arrow, select the desired option, and click Save Geolocation Settings. You can keep the default of No location, Use the mobile node location or specify a Custom Location. For a custom location, enter the latitude (use a negative for the southern hemisphere) and longitude (negative for western hemisphere); the example below shows Detroit's geolocation, 42.3314 (north) latitude and -83.0458 (west) longitude.
Continue with Record the Transaction.
After you record a Mobile transaction, and after you provision a Mobile test, you can change the device type or geolocation in the Script Options. See Reviewing and Editing a Transaction.
Record the transaction
- Enter the URL of the web page where you want to begin the test, and click Start Recording.
The Web Recorder launches a new window to record your interactions with the web application. The window is sized to match your browser or device selection.
The Web Recorder extension icon appears on the right side of the address bar in the browser window.
- Navigate through your web application's workflow: make selections, type in form fields, click links for web pages, etc.
If you are recording a Mobile transaction, you can insert a Rotate action to change the device's orientation (from portrait to landscape, or vice versa). Click the Web Recorder extension icon to access the Rotate options. See Web Recorder Actions for details.
When you record typing text into a masked field (e.g. a password), the text is automatically encrypted in the Keystrokes action. You can also manually encrypt Keystrokes text after you finish recording. See Web Recorder Actions for details.
- When you have finished the workflow, click the Web Recorder icon in the address bar.
A popup window displays the number of steps and actions recorded.
- Click Stop Recording.
The recording window closes. In the Dynatrace Portal, the transaction editor shows the sequence of actions you recorded.
After you finish recording, review the transaction and edit the actions if needed.