Quantcast
Channel: Scripting Languages
Viewing all articles
Browse latest Browse all 42

Parallel Using of Identical DisplayNames in the Running Object Table (ROT)

$
0
0

Hello community,

 

a few month ago I wrote here about the non uniqueness of IDs of the parallel using of SAP GUI for Windows and NWBC with SAP GUI Scripting. Also I wrote here about polyvalence entries from SAP GUI for Windows and NWBC in the Running Object Table (ROT). Here is now a new variant:

If you use the SAP GUI for Windows and NWBC parallel and you call in a script the method GetScriptingEngine, after GetObject with SAPGUISERVER - the DisplayName of the NWBC - , the entry of SAPGUISERVER is doubled on a SAPGUI entry. Thus you have the problem, if you run SAP GUI for Windows and NWBC at the same time, that you can't differentiate clearly between the SAPGUI objects from the ROT, because it exists twice by name. The DisplayName is in this case not unique. You have two entries with an equal DisplayName at the same time. I try it with the SAP GUI for Windows 7.40 PL 5 and the NWBC 5 PL 9.

 

Hint: The problem which I described here is also present.

 

All in all it is better, from the perspective of the SAP GUI Scripting, to use SAP GUI for Windows and NWBC not parallel and to open only one instance of the NWBC at the same time.

 

Cheers

Stefan


Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>