Delay when working with different applications

excel
uiautomation
sap

#1

Hi,

I need to work with different applications like Excel and SAP.
There will be a frequent transfer between two applications. But this creates a lot of delay in automation.

Example : I have performed some operation in the excel (under Excel application scope), now I need to open SAP(I have used Open application activity). It takes more than a minute to open.

This problem also exists when closing the applications.
Please do help me to minimize the delay.


#2

Hi SaranyaKishore

Could you please share workflow? There are lots of parameters can cause delay like excel file size, Excel format, network issues, file locations. Even your description does not clarify what “Some operations” means.

if you can give more details it would be easy to analyze

Regards
Pawan


#3

Hi Pawanbag,

Due to confidentiality, I could not share the workflow.
The operations performed in Excel is “Save as” operation. Then I need to open SAP using Open Process activity.

Thanks


#4

Try to use start process instead of open application and check @SaranyaKishore Generally how much time will it take to open the application


#5

It has around 30-35 seconds delay before opening the application.
Opening the application is in another workflow and I have invoked that in the Main workflow. Is there possibility of delay because of Invoking workflow?


#6

Invoke workflow is not the reason for the cause of delay,Did you check with start process activity?


#7

I tried just now.
Thank you so much. It works very faster. :slight_smile:


#8

In the same way, does kill process works faster than close application?


#9

Kill process is faster but Try to check with both activities

  • close application works only when the selector is visible whereas kill process kills all the opened applications with the specified processname @SaranyaKishore

#10

Okay, thank you @sreekanth. I have used close application in my case but same as open application it causes delay.