To get a BOT program to perform activities/tasks from the Athento user interface, you will need to use markings that allow you to identify elements of the user interface that can be interacted with.
Athento recommends when binding BOT actions on DOM elements, be sure to use HTML identifiers. Find an HTML tag that contains the interface element we want to interact with and use the
data-athento-id attribute so that the BOT can locate it.
For example, if you want to interact with the Send Approval Mail button...
from the browser console we can locate the data-athento-id tag of an element containing the link.
I can not find the attribute data-athento-id, What can I do?
Not all interface elements have this attribute. You can do two things:
A) request the attribute via support or
B) use the
id="" identifiers of the tags. In some cases you can also use the
NEVER use the
class="" attribute to identify screen elements.
Note that there are dynamic elements (list, table and other elements) that cannot carry a specific identifier.
Frequently used identifiers
- Button for opening the life cycle
- Transitions selector
- Input of comments:
- Move button:
Sending approval email
- Button to open the approval submission window:
Approval submission window options:
- Recipient's name:
- Add recipient button:
- Send button:
The letter n in the elements associated with the addressees must be replaced by a number indicating the addressee to which it refers. The first addressee is always n=0.
- Before button, from the listing pagination:
- Next button, from the list pagination:
Buttons on the trays (tails):
- Copy button:
- Excel button:
- CSV button: