Link Search Menu Expand Document

tooltip.print

description

Adds the tooltip to the page, or attaches it to the referenced element (if any).

syntax

getTooltip(ELEMENT_NAME).print()

alternate(s)

  • getTooltip(ELEMENT_NAME).print( getElement(id) )

  • getTooltip(ELEMENT_NAME).print( x , y )

notes

  • Since PennController 1.6, you can pass x and y coordinates to print the tooltip at a specific point on the screen/document.

  • Adds an image to the page and places a box with the text This is a square to its bottom-right corner, which disappears when a validation button (reading OK by default) is clicked.


example(s)


@newImage("myImage", "square.png")
@    .print()
@,
@newTooltip("myTooltip", "This is a square")
$    .print( getImage("myImage") )
@    .wait()
  • Adds an image to the page and places a box with the text This is a square to its bottom-right corner, which disappears when a validation button (reading OK by default) is clicked.