Applications Systems
WPM Recorder can record but playback fails due to website using iframe after upgrading to WPM 2024.1
The Recorder playback cannot determine if the page reloads by PageReloadWatcher, and it fails during the Recording playback.
First published date
Last published date
Overview
In WPM 2024.1, the release notes show the following known issues
WPM 3.0+ ActionRawMouseClick action does not execute properly in iframes
When WPM Recorder executes an action that was recorded in the second or later iframe, it executes scrolling properly, but xy clicks are executed only in the first frame.
Resolution or workaround: None
Due to that issue, the WPM recording, when it tries to playback a transaction, it gets the following error message:
Product section
Cause
The Recorder playback cannot determine if the page reloads by PageReloadWatcher.
Resolution
WPM 2.25.2 includes a fix for this issue. Consider upgrading your environment. If you can't upgrade, please use the workaround below. The workaround should be applied to each recording affected.
Disable containNavigation for specific actions manually in Recorder before saving:
- Open Recorder Web Tools (Ctrl + Shift + I)
- Go to the Network tab
- Open main file
- Find aesEncryptor.encryptWithPassword
- Add a breakpoint in the proper line where encryption is done
- Try to save it locally
- The breakpoint should be hit
- Go to the Console tab
- Type this.fileSteps
- The object with all the recorded steps will be obtained.
- Expand Steps and actions to find the correct one.
- Double-click on the ContainNavigate value and change it to false.
Go to the Source tab again and click the resume script button.
- Save the recording to a local path.
- Open the recording from the file and confirm it works as expected.