"On Element Appear 'SPAN': Activity timeout exceeded",

Pls help, i m having problems at my Advanced Training, Dispatcher part, in Process, after runing the workflow it says that it only takes the Transaction nr 1 and 2 and then i get this error , On Element Appear,Activity timeout exceeded", i used the in arguments in the selector, just don t get the error. I found other topics about this in UIForum but still having the same problem.

Hi @poana

The error will occur if the Element does not appear on the given Timeout.
Or the element is not valid because of incorrect selector :slight_smile:

3 Likes

@Jan_Brian_Despi, i used the element like it s written in the PDD file, for my Advanced Training, it sees only the first transaction but does not go to the 2nd page. Click ‘SPAN’: Cannot find the UI element corresponding to this selector: ", this is my error again.

If you observe carefully, the styles of the buttons for an active page is different from that of the pages that aren’t active.

If the current page is active, it’s button becomes a SPAN element, and the clickable buttons become ‘A’ elements.

Therefore, you have to check for the SPAN element. If you find it, then it means that you are on the currently active page. You can use this to ask the robot to look for a A element with the value equal to the next page number.

Example: When Work Items load, the button 1 is by default active and will be a SPAN element
You can then use that decision to look for an element that is an A element with a value = 2

image

It’s a good challenge to solve if you make use of the UI Explorer and click on an the different styles of the buttons and compare their selectors and then use them in the Find Element activity.

1 Like