When the Tree model is active or when you work with hybrid mobile applications, TestComplete uses object types and indexes to name web page elements in the Object tree (see the description of the Tree model). Using object types conceals web page implementation details and makes the naming scheme simpler and more transparent.
The following list describes which types correspond to tags on a web page (in alphabetical order).
New HTML5 INPUT types (number, search, e-mail and so on) are identified as the corresponding test objects (NumberInput , SearchBox , EmailInput and so on) only if these INPUT types are supported by the web browser. Otherwise, they are identified as generic TextBox objects.
To check if a browser supports a specific INPUT type, examine the element’s HTML5 support for hybrid mobile applications is limited. To find out which HTML5 object you can access from your tests, see the HTML5 Support in Hybrid Mobile Applications topic. |
Types
quickly:
»A
»APPLET
»AREA
»ASIDE
»AUDIO
»BUTTON
»CANVAS
»CAPTION
»DETAILS
»DIV
»EMBED
»FIELDSET
»FIGCAPTION
»FIGURE
»FOOTER
»FORM
»FRAME
»HEADER
»HGROUP
»IFRAME
»IMG
»INPUT TYPE="BUTTON"
»INPUT TYPE="CHECKBOX"
»INPUT TYPE="COLOR"
»INPUT TYPE="DATE"
»INPUT TYPE="DATETIME"
»INPUT TYPE="DATETIME-LOCAL"
»INPUT TYPE="EMAIL"
»INPUT TYPE="FILE"
»INPUT TYPE="IMAGE"
»INPUT TYPE="MONTH"
»INPUT TYPE="NUMBER"
»INPUT TYPE="PASSWORD"
»INPUT TYPE="RADIO"
»INPUT TYPE="RANGE"
»INPUT TYPE="RESET"
»INPUT TYPE="SEARCH"
»INPUT TYPE="SUBMIT"
»INPUT TYPE="TEL"
»INPUT TYPE="TEXT"
»INPUT TYPE="URL"
»INPUT TYPE="WEEK"
»LABEL
»LEGEND
»MARQUEE
»MATH
»METER
»NAV
»OBJECT
»OUTPUT
»PROGRESS
»SECTION
»SELECT
»SUMMARY
»SVG
»TABLE
»TD
»TEXTAREA
»TH
»TIME
»VIDEO
»Other elements
Applet
This type is used for the APPLET elements.
Area
This type is used for the AREA elements.
TestComplete supports testing image maps that use AREA elements. It recognizes AREA elements as child objects of the Image
object.
Two notes:
- If several images use the same map, the corresponding
Image
objects will have the sameArea
child objects. - If the AREA element’s TITLE attribute value exceeds 32 characters (including spaces), the
title
property of the correspondingArea
object returns only first 32 characters.
Article
This type is used for HTML5 ARTICLE elements.
Aside
This type is used for HTML5 ASIDE elements.
Audio
This type is used for HTML5 AUDIO elements.
Button
This type is used for BUTTON elements and <INPUT TYPE="BUTTON"> elements.
Canvas
This type is used for HTML5 CANVAS elements.
Caption
This type is used for CAPTION elements and HTML5 FIGCAPTION elements.
Cell
This type is used for the TD and TH elements.
CheckBox
This type is used for <INPUT TYPE="CHECKBOX"> elements.
ColorBox
This type is used for HTML5 <INPUT TYPE="COLOR"> elements.
DateInput
This type is used for HTML5 <INPUT TYPE="DATE"> elements.
DateTimeInput
This type is used for HTML5 <INPUT TYPE="DATETIME"> elements.
Details
This type is used for HTML5 DETAILS elements.
EmailInput
This type is used for HTML5 <INPUT TYPE="EMAIL"> elements.
Figure
This type is used for HTML5 FIGURE elements.
File
This type is used for <INPUT TYPE="FILE"> elements.
Fieldset
This type is used for the FIELDSET elements.
Footer
This type is used for HTML5 FOOTER elements.
Form
This type is used for the FORM elements.
Frame
This type is used for the FRAME and IFRAME elements.
Header
This type is used for HTML5 HEADER elements.
HGroup
This type is used for HTML5 HGROUP elements.
Image
This type is used for the IMG elements.
ImageButton
This type is used for <INPUT TYPE="IMAGE"> elements.
Label
This type is used for the LABEL elements.
Legend
This type is used for the LEGEND elements.
Link
This type is used for the A elements.
Marquee
This type is used for the MARQUEE elements.
Math
This type is used for the MathML MATH elements.
Meter
This type is used for HTML5 METER elements.
MonthInput
This type is used for HTML5 <INPUT TYPE="MONTH">.
Nav
This type is used for HTML5 NAV elements.
NumberInput
This type is used for HTML5 <INPUT TYPE="NUMBER">.
Object
This type is used for the EMBED and OBJECT elements.
Output
This type is used for HTML5 OUTPUT elements.
Panel
This type is used for the DIV elements.
PasswordBox
This type is used for <INPUT TYPE="PASSWORD"> elements.
PhoneInput
This type is used for HTML5 <INPUT TYPE="TEL">.
Progress
This type is used for HTML5 PROGRESS elements.
RadioButton
This type is used for <INPUT TYPE="RADIO"> elements.
ResetButton
This type is used for <INPUT TYPE="RESET"> elements.
SearchBox
This type is used for HTML5 <INPUT TYPE="SEARCH"> elements.
Section
This type is used for HTML5 SECTION elements.
Select
This type is used for the SELECT elements.
Slider
This type is used for HTML5 <INPUT TYPE="RANGE"> elements.
SubmitButton
This type is used for <INPUT TYPE="SUBMIT"> elements.
Summary
This type is used for HTML5 SUMMARY elements.
SVG
This type is used for SVG elements.
Table
This type is used for the TABLE elements.
Textarea
This type is used for the TEXTAREA elements.
Textbox
This type is used for <INPUT TYPE="TEXT"> elements and for HTML5 input types that are not supported by the web browser.
TextNode
This type is used for elements that have text contents: P, SPAN, LI, OL, H1...H6, BDI and others.
Time
This type is used for HTML5 TIME elements.
TimeInput
This type is used for HTML5 <INPUT TYPE="TIME"> elements.
URLInput
This type is used for HTML5 <INPUT TYPE="URL"> elements.
Video
This type is used for HTML5 VIDEO elements.
WeekInput
This type is used for HTML5 <INPUT TYPE="WEEK"> elements.
See Also
Tree Model
About Web Object Identification and Object Models
Testing Web Applications