Protection of Personally Identifiable Information (PII) should span the entire web application life cycle. For example, Health Insurance Portability and Accountability Act (HIPAA) requirements must be met at each stage of development for a healthcare website, in addition to carrying out web testing requirements.
By default, we capture video of the various web applications’ steps, or transactions, in a browser window. Some sensitive web content, such as Protected Health Information (PHI) or web forms with login or other personal data, may also be recorded on the video. If necessary, you can disable transaction recording and screenshots features altogether. However, since the video of the transaction execution is used for error troubleshooting, we recommend you use the Privacy Mode features of the EveryStep Scripting Tool.
In the Privacy Mode, you can temporarily pause session recording when it comes to sensitive web content. Or you can hide specific regions on the recorded video. To decide which approach of PII protection works better for your case, check the explanations given in this article.
If you want to hide a specific region on the recorded video and keep it masked on the video replay, you can specify the region in the EveryStep Scripting Tool while recording the script.
The EveryStep Scripting Tool lets you manually outline an area on the web page you want to hide. The selected area will be masked with a black rectangle on the captured video of your EveryStep script execution. Practically speaking, every time users of your Dotcom-Monitor account review the recordings of the script execution, they will see that black rectangle instead of the region selected to be hidden.
You can select a specific HTML element area to be masked on the video. For example, you can select a text input field on a sign-up page to be hidden under a black rectangle. Alternatively, if you want to hide a custom area on the video, you can directly specify the screen coordinates of this region.
In the case of recording scripts for RIA-driven web application monitoring and load testing, you can link the masking region to a reference RIA image on the page. Our unique RIA image-matching technology will detect the picture on the captured video and hide the region linked to that picture on the video playback.
To specify a masking region on the web page in the EveryStep Scripting Tool, check the guidelines provided for the corresponding masking method.
Hide by HTML Element
To hide a region linked to a specific HTML element:
- In the EveryStep Recorder, on the opened web page find a web element that you want to use as a reference for the masking region.
- Right-click the web element and select Mask Region > HTML Element.
- Make sure the XPath Variants of the element are correct. Note that you can change the xpathes at any time from within the script editor.
- Optional: If you need to change the level of the element, click Level Up.
- Click Select to add the region to hide to the script. The corresponding line will be added to your script.
Hide by Region Linked to Screen Coordinates
To select a custom area to hide on the video:
- In the EveryStep Recorder, on the opened web page right-click and select Mask Region > Screen Coordinates.
- Select the region on the screen. The corresponding line will be added to your script. You can change the region coordinates from within the script editor at any time.
If the screen is scrolled while recording the video, the hidden elements can become visible depending on the masking region behavior settings. See how to change the region behavior in the corresponding section of this article.
Hide by Region Linked to RIA Picture
In this case, the system will use the RIA image as an anchor only to determine the coordinates of the region that must be masked. Note that the RIA image itself will stay visible on the video.
To select a region linked to an RIA image:
- In the EveryStep Recorder, on the opened web page right-click and select Mask Region > RIA Picture.
- Select an RIA image on the screen to specify the anchor picture for the region. The system may prompt you to specify another fragment of the page to provide a unique image.
- Next, select the region to hide on the video. The region will be bound to the center of the RIA image selected in the previous step. The corresponding line will be added to your script. You can change the region coordinates from within the script editor at any time.
Changing Region Behavior
Scrolling the screen can affect the masking region position on the captured video.
By default, the masking region is anchored to the top of the screen or to the center of the associated RIA image. Simply put, the region sticks to its initial position when the scrolling action is executed. However, once the script has been recorded, you can change the way the masking region behaves on the video by changing the region parse rule. For example, you can hide the elements that stick to the top of the screen once it’s been scrolled by binding the masking region to the page.
To change the anchor the masking region is linked to, stop recording, and in the Script Code section, click the VideoCapture.Regions.Exclude method you want to modify and select a region parse rule from the corresponding list:
- BindToScreen. When bound to the top of the screen, the region sticks to the initial position relative to the top of the screen.
- BindToPage. When bound to the top of the page, the region becomes fixed in place and scrolls with the page.
- RealTimePicture (RIA picture only). Similar to BindToScreen. It binds the region to the center of the linked RIA image.
Changing Region Coordinates
To change the coordinates of the masking region, in the Script Code section, click the corresponding Region method and specify new coordinates.
Clear Masked Regions
To clear all masked regions that were specified before in the script, from the screen recorder context menu, select Hide Video Region By > Clear All Regions.
The Video Capture option (Video Recording in the EveryStep Scripting Tool Desktop) allows you to pause and resume video recording while executing web application monitoring and load testing sessions.
To use the Video Capture function to pause video recording while executing a specific part of the script, follow the steps below:
- Start recording a script.
- Right before the steps that involve PII content, click Video Recording on the left side toolbar to switch the video mode to the “off” state. The corresponding line will be added to the script.
- To resume the recording, click Video Recording again. The recording function will be activated for the subsequent steps and actions. The screenshot below shows how this should look within the EveryStep script.
Applying the Privacy Mode to the Pre-recorded Script
If you need to apply the functions of the Privacy Mode to a pre-recorded script, use the Privacy option of the script editor context menu.