---
title: XCUIElement.AttributeName
framework: xcuiautomation
role: symbol
role_heading: Structure
path: xcuiautomation/xcuielement/attributename
---

# XCUIElement.AttributeName

A set of string constants that serve as keys for storing element attributes in a dictionary.

## Declaration

```swift
struct AttributeName
```

## Topics

### Keys

- [children](xcuiautomation/xcuielement/attributename/children.md)
- [elementType](xcuiautomation/xcuielement/attributename/elementtype.md)
- [enabled](xcuiautomation/xcuielement/attributename/enabled.md)
- [frame](xcuiautomation/xcuielement/attributename/frame.md)
- [hasFocus](xcuiautomation/xcuielement/attributename/hasfocus.md)
- [horizontalSizeClass](xcuiautomation/xcuielement/attributename/horizontalsizeclass.md)
- [identifier](xcuiautomation/xcuielement/attributename/identifier.md)
- [label](xcuiautomation/xcuielement/attributename/label.md)
- [placeholderValue](xcuiautomation/xcuielement/attributename/placeholdervalue.md)
- [selected](xcuiautomation/xcuielement/attributename/selected.md)
- [title](xcuiautomation/xcuielement/attributename/title.md)
- [value](xcuiautomation/xcuielement/attributename/value.md)
- [verticalSizeClass](xcuiautomation/xcuielement/attributename/verticalsizeclass.md)

### Initializers

- [init(rawValue:)](xcuiautomation/xcuielement/attributename/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supporting types

- [XCUIElement.ElementType](xcuiautomation/xcuielement/elementtype.md)
- [XCUIElement.SizeClass](xcuiautomation/xcuielement/sizeclass.md)
