detached31
11 months agoOccasional Contributor
Difference in JavaScript support with TC 15.61
I have some code which retrieves a JavaScript variable (a boolean value) from a Web page, in a test script (JScript).
var oPerfs = Sys.Browser("*").WaitPage("*",10000).
contentDocument.script.
com.sap.powerdesigner.web.galilei.features.performance;
This worked (always) with TestExecute 15.55.53.11 with Chrome 121.0.6167. (and we then use the oPerfs variable to set the JavaScript variable to true, and activate some performance counters in the page, that we later retrieve from some JS variables in the ...web.galilei.features namespace).
This fails repeatedly with TestExecute 15.61.1.11 with the same Chrome: 'sap' is null or not an object.
All the Chrome are using the 15.0.4 Smartbear Test Extension.
(as a side note, it fails with any version of TE with Chrome Beta 122)
Should it work?