cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistency in automation execution time for SAP GUI for html transaction code (webgui)

DHRUV
Discoverer
0 Kudos

Hi All, 

I have recorded a script to automate SAP GUI for html (web Gui), to create a process to update the business partner using T-code BP. The script is recorded fine, and I have included control 'repeat' to run this execution in loop for several interval. At the end of script, we have close application step, this is the last step. 
Now, I have tried to execute and test this for repeat intervals 2 and 5, means the script will run in loop for 2 times and 5 times each. 

Now, there’s inconsistency from script side when it reaches the last step i.e. ‘Close application’. It took just ‘1 sec’ to end the run after reaching close application, when the loop was set to 2, but for 5 loop it took ‘30 secs’.

For loop 2:
Start time: 14:39:21
Close application time: 14:39:35
End time: 14:39:36
For loop 5: 
Start time: 14:41:29
Close application time: 14:42:09
End time: 14:42:39

Even this is not consistent, at times I have noticed the same lag for 2 loops as well. I don't get any error, just the 30 sec processing gap is observed between close application and end. 

What can be the reason for this? Any suggestions to resolve this would be really helpful. 

DHRUV_0-1714734570302.png

DHRUV_1-1714734587634.png

DHRUV_2-1714734601241.png

Thanks in advance. 

 

 



Accepted Solutions (0)

Answers (0)