Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
How can we validate tooltip of sorting icon in Alfresco using SAHI?
KiranIqbal
Members
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