How to reduce time if ui selector not going

Hi,

How to reduce time of bot processing if ui selector is not found on a website. Basically i want to reduce the time it takes to throw the exception of ui element not found

If i got you correct In the activity Property’s there is timeout slot make it by milisecound
example 5000 = 5 secounds.

Also you can use on element appear activity
Also you can put it in Retry scope by your needed time
Also you can make it by Try catch

Hi,

You can reduce the time/ speed up process by changing below properties

1)Timeout of click or type into by default is 30 sec you can reduce time to whatever you want.
2)select waitforReady property to default or interactive.
3)select simulate property.

You have already found the key answer for the question
If you reduce the TIMEOUTMS property default value from 30000 milliseconds (30 seconds) say for example 5000 milliseconds (5 seconds)

Then bot will for 5 seconds till that element is accessible
If that element is not for 5 seconds then it will throw error
So you can set as per your need in TIMEOUTMS property of any UI Based activity

In addition to that

If you want to validate the selector and element active state, use WAITFORREADY Property and set it to COMPLETE

If it is set to complete it will look for all attribute of that selector whether is available or not
Only then it will consider as element is accessible
For more details
WaitForReady – wait for the target to become ready, before performing the activity. There are three available options:

  • None – does not wait for the target to be ready.
  • Interactive – waits until only a part of the app is loaded.
  • Complete – waits for the entire app to be loaded.

Cheers @Sumit_Ghosh1