Even I am facing the same issue. Did your problem for solved? if yes then please suggest me some ways.
The only difference is I'm automating the desktop application.