RBM - Add content check via Web Transaction Recorder (Browser Extension)

RBM - Add content check via Web Transaction Recorder (Browser Extension)


Related topic:
Check out this link if you want to configure content check through the Playback Script.
Warning
The below mentioned steps are supported only in Firefox Recorder. For Chrome and Edge recorders, refer here for steps to add content check during monitor addition in Applications Manager version 174900 and above.
Applications Manager's Real Browser Monitoring allows to configure content check to be done on the webpages by configuring checks for both Content to be present and Content not to be present conditions in between the steps
  1. Content to be present: Data will be collected successfully only if the specified content is present in the recorded steps. Else data collection will stop in that step.
  2. Content not to be present: Data will be collected successful only if the specified content is not present in the recorded steps. Else data collection will stop in that step.
If you want to add content check in any of the step which you have recorded for Real Browser Monitor (RBM), view the extension window to see the all the steps recorded once the recording is completed. Then follow the steps below to add content checks for both the conditions:

1. Insert new command


2. Select the new step created



3. Add the content check commands

  1. For content to be present condition, select the command type as "verify text" and specify the required content as target.
  2. For content not to be present condition, select the command type as "verify not text" and specify the required content as target.


4. Verify the step in the playback script

After the RBM monitor is added, from the monitor details page choose "Monitor Actions -> Edit Playback Script" to view the script.
  1. For content to be present condition, the required content will be present in the following format in playback script.
    assert_text_present( "<content_to_be_checked>", "<true/false>" )


  2. For content not to be present condition, the required content will be present in the following format in playback script.
    assert_text_not_present( "<content_to_be_checked>", "<true/false>" )


                  New to ADSelfService Plus?