cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GUI SCRIPTING: GUI 770 changed SAP.HTMLControl / HTMLViewer / BrowserHandle ?

0 Likes
6,555

GUI SCRIPTING: GUI 770 changed SAP.HTMLControl / HTMLViewer / BrowserHandle ?

When we use the version 740, we can get a text from the 2nd window ( - normally it uses for information / caution / warning message) as below:

session.findById(id).BrowserHandle.document.all(0).innerText

However, after upgrade to version 770, we can not get anything from this command.

Just received the ERROR as BrowserHandle is [NONE] type object.

Could you please tell us How to get the TEXT which displayed in the 2nd (id = "wnd[1]", information / caution / warning) window?

View Entire Topic
FrankKrauseGUI
Product and Topic Expert
Product and Topic Expert

Hello Masa,

this issue has been fixed in patchlevel 3 of SAP GUI for Windows 7.70.
It was introduced when the HTML Control based on Edge (WebView2) was created.
See also SAP Note 3050103 - "SAP GUI HTML Control for windows: Scripting property BrowserHandle returns null"

Best regards,
Frank

0 Likes

Hello, Krause,

Thank you very much, now everything is very much clear!

Unfortunately, I could not reach the document of Note 3050103 ,

However, now I understand that I need to wait for SupGui will be updated...

Best regards,

Masa