Unable to Launch the Desktop based application in linux

I am trying to automate desktop-based applications on Linux. I identified the objects/elements of the application but was not able to launch the
application from the tool tried all possibilities but was unable to launch.
The problem is I can launch system applications like Notepad,
calculator but this particular application which I need to automate not
able to launch
In the terminal I can launch the application from anywhere means a global variable path but from the tool no.
please suggest any possible solution that resolves my issue