Skip to Content
0
Nov 26, 2020 at 01:49 AM

SAP Screen Personas 3 SP11 - session executeScript function missing the property scriptResult

60 Views

Hello,

I've one script trying to use session.utils.executeScript to get some data.

For example, my script is like this

var oResult = session.utils.executeScript("<script_A_id>", null);
var data = oResult.scriptResult;

It used to work in the past since I could get the result from the property scriptResult.

However, I think after upgrading to SP11, the function executeScript doesn't return data anymore.

As I debug, it now returns true or false.

I remember it used to have this property scriptResult.

Now I can't find it anywhere.

Does anyone have any ideas?

Thanks.

Tri