I am tired of searching and finding no clear answers.
So here is the situation. I have a vbscript file that automates the SAP GUI. My issue is that I need to get the status text from the status bar after every input is made.
I have tried using findById("wnd[0]/sbar").text, but it does not capture every warning or error message.
Does the status bar object have any other properties besides text?
Any type of response would be greatly appreciated.
-Thanks
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
BTW...
I created an error trap which resolved to show the SAP status bar text just fine. You could just as well direct this a txt log file:
On Error GoTo errSAP
~~your code~~
errSAP:
errMessage = session.FindById("wnd[0]/sbar").Text
MsgBox errMessage
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.