Dynamic Timeout for UiAutomation Activities

Hi @ronak.patel

You can take 2 approaches here:

  1. already shared by @manasrlenka25

  2. you can define an asset for timeout value. And provide the same in timeout property of the activity. So, if after multiple runs, you have observed that activity is failing(because application is taking more time to load), you can increase the timeout in orchestrator and re-run to observe if it improves the situation.

If you have multiple activities where you would want to control the timeout range, I would suggest creating 3 assets for timeout like “short timeout”, “medium time out” and “long time out”.

Based on your observations from test runs, you can accordingly adjust the values and use it at different places.

Hope this helps.

Regards
Sonali

1 Like