Why I can't get the tooltip message use script?

When SUT is in live mode, when I move to a link, I will get one tip message show on the top of link.
But when I run:
moveto [x, y]
wait 1
there is no tip message show on the top of tip.
Why?

There are a few possibilities here:

  1. The application under test only displays the tooltip once per session. You can test this by repeatedly moving off the element and moving back when in Live Mode.

  2. The application under test doesn’t realize that you have moved off of the element. Add a moveto(a,b) where (a,b) is a point at the center of the screen.

  3. Increase your Wait to 3.

Hope this helps,
Dave

Thanks, the second possibility you say is ok.

1 Like