Open topic with navigation
Transaction monitors simulate a user’s path through a website, such as buying something, logging in or searching a website. You create transactions by recording actions in Firefox or Chrome using AlertSite’s script recorder, DéjàClick. DéjàClick is a free browser extension that automatically records and plays back user action, with no programming needed.
In this tutorial, we will use the Firefox browser to create a transaction monitor for Amazon.com. The monitor will search Amazon for Star Wars, and verify that the search results contain the film Star Wars: A New Hope.
First, check if you have the DéjàClick toolbar in Firefox.
If you do not see this toolbar, install DéjàClick from the Firefox Add-ons website:
If your website uses Flash, also install DéjàClick’s TrueScreen module:
Open the starting page of the transaction and do what a typical user would do – click the links, fill in forms, and so on.
In this tutorial, we will search for Star Wars on Amazon:
To make sure your web pages contain correct content, you can add keyword validations to your transaction. For example, if you log into an application as TestUser, you expect Hello TestUser appear on the page, and if it is not there, the application is not working properly.
Let’s create a keyword validation:
DéjàClick switches into the keyword selection mode. As you move the mouse pointer over the page, DéjàClick automatically suggests the text under the pointer as a keyword.
The transaction is now configured to raise an error if the text does not appear on the page.
Click Stop recording on the DéjàClick toolbar. You will see a message with the number of recorded events.
For now, the transaction is temporarily stored on your computer. We need to upload it to AlertSite so that the transaction will run from the global monitoring locations. We will do this later in this tutorial.
All recorded user actions appear in the DéjàClick sidebar on the left side of the Firefox window. If you do not see the sidebar, click the Open Sidebar button on the DéjàClick toolbar.
On the Properties tab, you can review the event properties and playback parameters.
Before uploading the recorded transaction to AlertSite, you need to replay it locally to make sure it works correctly.
Note: With this option the replay may take longer because DéjàClick measures render times after loading web pages.
DéjàClick will now repeat the recorded actions in the browser.
If there was an error, try re-recording the transaction, or try adjusting playback parameters on the Properties tab. For troubleshooting tips, see DéjàClick Troubleshooting Guide.
After the replay completes successfully, you can upload the transaction to AlertSite.
In the Upload Recording dialog that appears, specify the Transaction Name and other parameters:
Note: To measure page rendering time, select Firefox.
To review or change other monitoring settings, click Edit Monitor and proceed from there. For a description of available settings, see Real-Browser Monitor (DéjàClick) Settings.
The monitor will start collecting data shortly. You can see the run results on AlertSite’s dashboards.