But there are always one or two abnormal items(3% of full list) which trigger reminder pop-up window. In this case I have to close this pop-up window then continue process
Usually I will use [Element Exist] to identify if some fixed elements exist in normal scenario. If that element doesn’t exist, then close the pop-up window
PS: If no pop-up windows(normal scenario), I can use [Status] as the fixed element. (This element can’t be seen if pop-up window show up)
But [Element Exist] will take 30-60 seconds to identify if fixed element does not exist
And usually we have around 100 items to handle in each batch
I am afraid the overall run time will be quite long if I use [Element Exist]
Do you have other ideas on this case for better efficiency?
If pop-up window show up and I select continue on error in property, will it not able to click the correct button in normal scenario? If yes, the workflow will fail directly(I think)
Instead of checking the popup using check app state or Element exists activity, directly use classic Click activity which will have full selectors so it will be able to click on the Ui Element directly.
What this will do it, if the popup with Ok button comes up, click it if not it will fail but as we are enabling continue on error, it will not throw any exception and remaining workflow will work normally.