Skip to content

assertContentDescription (Native/Hybrid Apps - Interrogation)

Compatible with:
  • Purpose
  • Verifies the content description pattern of an element. Stops the execution if pattern did not match.
  • Syntax
  • assertContentDescription(locator, text)
  • Target
  • locator - an element locator pointing to an element OR an element itself
  • Value
  • text - Text to be verified.
  • Return Value
  • N/A

 

Feedback and Knowledge Base