protractor icon indicating copy to clipboard operation
protractor copied to clipboard

How to use protractor to find the fading in content of tooltip generated by Angular-UI?

Open jasonnjit opened this issue 12 years ago • 1 comments

Hey guys, I am using Protractor, and trying to find the content of tooltips on the page. These tooltips are generated by Angular-UI, and fading in with moveMouse over them like below. Those tooltips are similar with ng-bind, but I cannot use binding to find them. Also, I tried to getAttribute of this tooltip, but it also didn't work for me, maybe cause protractor cannot detect this element name. Do you have any idea of how to read the content of those tooltips? Many thanks.

<div class="col-md-2">
    <div class="form-group">
        <label class="control-label" id="label_Merchant_Number"  translate>merchant_NUM</label>
        <input ng-model='searchCriteria.MERCHANT_NUMBER' tooltip="{{'merNumber_tooltip'|translate}}" class='form-control  input-sm'  type='text' id='MERCHANT_NUMBER' name='MERCHANT_NUMBER' maxlength='16' erng-validations>
    </div>
</div>

jasonnjit avatar Sep 09 '14 04:09 jasonnjit

Please consider posting questions like this to Stack Overflow, so we can keep the github issue tracker clean for bugs and feature requests!

juliemr avatar Sep 09 '14 18:09 juliemr