assertNotColor (UI Automation - Interrogation)
Compatible with:
- Purpose
- This command retrieves the CSS color attribute value applied to that element and compares with the pattern in Value.
- This command verifies the CSS color of an element retrieved doesn't match with the pattern given in value.
- If the specified RGB format is present on the UI; the execution gets aborted.
- Syntax
- assertNotColor(locator, pattern)
- Target
- locator - an element locator pointing to an element OR an element itself
- Value
- Pattern - the color in RGB (r, g, b) format.
- Return Value
- Returns true or false