APAR status
Closed as program error.
Error description
When a application contains a Content Security policy which does not allow an external Java Script to interact with. We cannot inject our JavaScript. With Functional Tester test when WebUI engine is used the playback is failing. On the browser Console, the message below is thrown: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chat.bmf.gv.at 'nonce-s58CLcksNu'". Either the 'unsafe-inline' keyword, a hash ('sha256-pRK66y6AAiEG1RbEra0HQJ4nH4Gkz18007NqauIabGY='), or a nonce ('nonce-...') is required to enable inline execution. But if you use traditional RFT on Chrome or Edge Chromium, everything works fine.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rational Functional Tester users * **************************************************************** * PROBLEM DESCRIPTION: * * See error description. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Previously, when you ran a functional test by using the Web UI engine for the web application that is enabled with Content Security Policy, Rational Functional Tester failed to identify the UI controls. This problem is fixed. The fix for this APAR is included in 10.5.0 release.
Temporary fix
Comments
APAR Information
APAR number
PH45644
Reported component name
RAT FUNC TESTER
Reported component ID
5724G2503
Reported release
A00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-04-12
Closed date
2022-09-26
Last modified date
2022-09-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RAT FUNC TESTER
Fixed component ID
5724G2503
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJMXE","label":"Rational Functional Tester"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A00","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
26 September 2022