Skip to content
Testsigma DOCS

Troubleshooting

Common UI Elements for iOS Apps


Given below are the most common Element types available for iOS:

Element TypeDescriptionCommon Attributes
XCUIElementTypeTextFieldUsed for input text fields such as username, email, and namevalue, text, name
XCUIElementTypeSecureTextFieldUsed for password input fields which hide the entered textvalue, text, name
XCUIElementTypeButtonUsed for showing buttonstext, name
XCUIElementTypeSwitchUsed mostly for toggle switchvalue, text, name
XCUIElementTypePickerWheelUsed for showing selector such as country selector, date selector or any selector to select from given optionsname
XCUIElementTypeSliderUsed for showing a slider element which can be slided horizontally such as brightness, volume slidername
XCUIElementTypeImageUsed for showing imagesname
XCUIElementTypeSearchFieldUsed for showing search fieldsvalue, text, name
XCUIElementTypeLinkUsed for showing hyperlinksvalue, text, name
XCUIElementTypeDatePickerUser for showing date picker elementsvalue, text, name

  • XCUIElementTypeActivityIndicator
  • XCUIElementTypeProgressIndicator
  • XCUIElementTypeAlert
  • XCUIElementTypeWindow
  • XCUIElementTypeOther
  • XCUIElementTypeStaticText
  • XCUIElementTypeNavigationBar
  • XCUIElementTypeSegmentedControl
  • XCUIElementTypeMap
  • XCUIElementTypeStatusBar