18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
How can we validate tooltip of sorting icon in Alfresco using SAHI?
in Sahi Pro
I need to validate the tooltip of sorting icon in alfresco document library using SAHI and also want to fetch the tool tip value. Please help
Answers
Can you please provide the view source of the element on which you want to get the tooltip?
You can use _getAttribute($el, "title") to get the tooltip.
In the most cases, title attribute will be used to show the tooltip.
Please refer the following link for more information on _getAttribute() API.
http://sahipro.com/docs/sahi-apis/fetch-apis.html#_getAttribute
Hope this helps.
here's the source:
<div class="sort-direction">
<span id="template_x002e_documentlist_v2_x002e_documentlibrary_x0023_default-sortAscending-button" class="yui-button yui-push-button">
<span class="first-child">
<button type="button" tabindex="0" id="template_x002e_documentlist_v2_x002e_documentlibrary_x0023_default-sortAscending-button-button" title="Sort Descending"></button>
</span>
</span>
</div>
I guess SAHI does not support this for Alfresco sorting feature.. Please confirm if that's the case