Product Information > JADE Encyclopaedia of Classes – Volume 3 > Chapter 2 - Window Classes > Testing Tools and Control Identification

Testing Tools and Control Identification

JADE creates each control with an assigned identification number that is included in the creation description passed to Windows. Windows accepts only 16-bit identifiers; that is, 1 through 65,535. This control identifier is used by some testing tools to locate the control elements involved in the script processing via a Windows API call. JADE does not use the identifier.

Although Windows requires only that child identifiers be unique for their direct parent, JADE creates the identifiers so that they are unique for the whole form. An identifier assigned to each control defined in the JADE Painter does not change when the painted form is altered unless the control is deleted and re-added; that is, you do not need to update testing scripts because the identifiers have changed.