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 be recorded on the video as well. If necessary, you can disable transaction recording and screenshots features altogether. However, since video of the transaction execution is used for error troubleshooting, we recommend you use the advanced video recording management features of the EveryStep Scripting Tool instead. 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 to EveryStep video recording management to protect PII works better for your case, check the explanations given in this article.
Hide Region on Recorded Video
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 from within the right-click context menu.
The EveryStep Scripting Tool lets you manually outline an area on the web page you want to hide. This 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 Hide Video Region By > 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 Hide Video Region By > Rectangle Linked To > 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 Hide Video Region By > Rectangle Linked To > 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, 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 bounded to, from within the EveryStep Script Editor, 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, from within the EveryStep Script Editor, click the corresponding Region method and specify new coordinates.
Clear Masking Regions
To clear all masking regions that were specified before in the script, from the right-click context menu, select Hide Video Region By > Clear All Regions.
Stop/Start Video Recording in the EveryStep Scripting Tool Desktop
The Video Recording function of the EveryStep Scripting Tool Desktop allows you to pause and resume video recording while executing web application monitoring and load testing sessions. The function is available from the left-hand side toolbar of the EveryStep Recorder.
To use the Video Recording function to pause video recording while executing a specific part of the script, follow the steps below:
- Start recording a script, including the steps with PII data.
- 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.