How to capture and validate tooltips using Test Designer
Problem
I cannot capture the tool tip text while creating an Assert or Validation
Reason
Tool tips are difficult to capture using the traditional Test Designer IDE Checkpoint recording method
Resolution
Standard tool tips always with similar characteristics to the following:
-
Reside within a DIV
-
Contain the class cdk-overlay-container
By replacing the Click action (on the element where the tooltip resides) with a Mouse Over action, the tooltip displays. Then assert or verify the div(“cdk-overlay-container”) contains the anticipated text as illustrated below: