Skip to content

assertStyleAttribute (UI Automation - Interrogation)

  • Purpose
  • This command is used to gets the CSS attributes values of an element attribute.
  • Syntax
  • assertStyleAttribute(locator,pattern)
  • Target
  • locator- an element locator followed by an @ sign and then the name of the attribute, e.g.'foo@visibility'.
  • Value
  • N/A
  • Return Value
  • An array of all selected option values in the specified select drop-down.
 
 
 
 
 

Feedback and Knowledge Base