assertBackgroundImage (UI Automation - Interrogation)
Compatible with:
- Purpose
- Retrieves the CSS background-image attribute value applied to that element and compares the pattern given in Value.
- Fails if the specified element doesn't exist or doesn't match the pattern.
- Syntax
- assertBackgroundImage(locator, pattern)
- Target
- locator- an element locator pointing to an element OR an element itself
- Value
- Pattern
- Return Value
- The background-image.