How to open SAP application

Hi all,

I am trying to open SAP using UIPath but i keep facing the same error: SelectorNotFound

I have tried several methods

  1. using recording
  2. using the Open Application function


Please assist!

1 Like

Use Start Process activity in that you have to pass file name(file location of SAP app)

1 Like

you can create shortcut key for the SAPLogon and use that open application…

with that i still keep getting the selector error :frowning:

An error pops up :frowning:

What error you are getting?

i guess you have not enable SAP scripting in both local where robot runs and on the server. it will give direct access to the studio

I got this
image

And subsequently this
image

I got this

image

Your start process activity should be surrounded by Try/Catch block with Exception of type System.Exception

image

what should i set for this?

I use:

Selector: <wnd app='saplogon.exe' cls='#32770' title='SAP Logon 740' />
Filename: “C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe”

Best regards.

2 Likes

I just added “Start process” and input FileName as below. It works fine.
“C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplgpad.exe”

1 Like