Symptom
- When the SAPUI5 OPA Test is performed, the first run always produces an error message before the test can be performed
- OPA Test is documented under: SAPUI5 First OPA Test: Step 6: A First OPA Test - Documentation - Demo Kit - SAPUI5 SDK
- ~~~~~~~Error~~~~~~~~~~~~
context.js:265 2024-09-24 13:09:18 [opaTests.qunit.html] Device API logging initialized - DEVICE
ui5loader.js:1552 Uncaught ModuleError: Failed to resolve dependencies of 'sap/ui/core/Core.js'
-> 'jquery.sap.global.js'
-> 'sap/ui/core/Configuration.js'
-> 'sap/ui/base/Object.js': failed to load 'sap/ui/base/Object.js' from ../../resources/sap/ui/base/Object.js: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:9876/base/webapp/resources/sap/ui/base/Object.js'.
at makeModuleError (http://localhost:9876/base/webapp/resources/ui5loader.js:1042:15)
at Module.failWith (http://localhost:9876/base/webapp/resources/ui5loader.js:814:13)
at http://localhost:9876/base/webapp/resources/ui5loader.js:1858:32
at requireAll (http://localhost:9876/base/webapp/resources/ui5loader.js:1743:5)
at executeModuleDefinition (http://localhost:9876/base/webapp/resources/ui5loader.js:1796:3)
at Object.ui5Define [as define] (http://localhost:9876/base/webapp/resources/ui5loader.js:1929:3)
at eval (http://localhost:9876/base/webapp/resources/sap/ui/core/Core.js?eval:8:8)
at eval (<anonymous>)
at execModule (http://localhost:9876/base/webapp/resources/ui5loader.js:1645:15)
at requireModule (http://localhost:9876/base/webapp/resources/ui5loader.js:1546:5)
Caused by: ModuleError: failed to load 'sap/ui/base/Object.js' from ../../resources/sap/ui/base/Object.js: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
Read more...
Environment
- SAP S/4HANA Platform
- SAPUI5 1.129.0 and others
Product
SAP HANA, platform edition 2.0 ; SAPUI5 1.0
Keywords
"UI5 OPA Test","OPA Test SAPUI5 not working","OPA Test UI5" , KBA , CA-UI5-COR-FND , Foundation team , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.