Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

How can we validate tooltip of sorting icon in Alfresco using SAHI?

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

  • Pratik_ShahPratik_Shah Moderators
    Hi Kiran,

    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.
  • Thank Pratik

    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
Sign In or Register to comment.