SAP GUI scripts throwing errors when run in Performance Center
I am working for a SAP client on performance. We have created scripts for SAP GUI scenarios and below are the observations:
1. The GUI scripts run absolutely fine in Vugen for N number of iterations.
2. These scripts start failing when run in PC ALM . Some of the frequently observed errors are listed below:
Failed to find sapgui component by ID "sbar"
Failed to select active window
Failed to get the status bar text
Failed to press button "XXX"
The below measures are taken in an attempt to solve the above issues but still unsuccesful.
1. All the scripts are done in Load generator where they are run during load test.
2 . Slow ramping of users and think time, pacing is applied.
I have surfed over the internet to find more resolutions but have not come across any.
Although this is quite generic issue. Apologise if this post is resolved already. If yes, please direct me to it.