Hello,
So this is my code:for i in range (session.FindById("wnd[1]/usr/cntlGRID1/shellcont/shell").RowCount -1): if session.FindById("wnd[1]/usr/cntlGRID1/shellcont/shell[0,i]").Text == "ESZ kísérőlevél":
session.FindById("wnd[1]/usr/cntlGRID1/s...
How can I connect SAP GUI with JavaScript?
I can do it in python and java, but my company wants it in JavaScript. Is it even possible? I've been trying for 5 days but I'm not getting anywhere...
Here is the code, what I want to run in JavaScript:...
With this: for i in range (session.FindById("wnd[1]/usr/cntlGRID1/shellcont/shell").RowCount -1): print(session.FindById("wnd[1]/usr/cntlGRID1/shellcont/shell").Text)Output:SAPGUI.GridViewCtrl.1SAPGUI.GridViewCtrl.1SAPGUI.GridViewCtrl.1etc...
Hi,Traceback (most recent call last): File "c:\Users\fodorp3\Desktop\23.py", line 10, in <module> print(session.FindById("wnd[1]/usr/cntlGRID1/shellcont/shell[0,i]").Text) File "<COMObject FindById>", line 2, in FindByIdpywintypes.com_error: (-2...