Brand test

Brand testing with Jane Austen

Posted by mycarda on 11 December 2022

Why test for brand?

Brand within text

The most basic form of brand testing is to detect text that does not contain the correct spelling, capitalisation, word order or spacing associated with a branded word or phrase. The following examples make this clear. Our brand is to use "Jane Austen" as the brand name and all accidental variations must be caught and flagged as brand violations. We also need to take into consideration false positives when testing.

Jane austen was not his real name. He just used that to get his books published. In fact, he was a bloke from Yorkshire with a big bushy beard. He decided on jane austen because it was a neutral name associated with chawton house in Hampshire. Don't confuse jane austin with her brother Steve Austin, who was the six million dollar man. Steve Austin never lived at Chawton house and never borrowed any books from Chawton Library.

The brand violations in the above paragraph would be "Jane austen" (lower case a), "jane austen" (not capitalised), "Jane Austin" (wrong spelling).

There are a number of false positives embedded in the text. "Austin" is a valid spelling for either a given or family name so some real Austins have been added.

Brand related to the style of specific items

These type of brand rule combine text, specific HTML items (in this case we will consider <button> items) and the colour used to display them. This example will detect buttons that contain the word "blue" that are not the specific colour of blue "#006581" like this.

Button 1 is the correct example of background-color for a button containing the word "blue" in either text case. Button 2 is a brand violation because it contains "blue" but not the correct background-color. Button 3 does not contain "blue" so triggering this would be a false positive. Button 4 has a blue background-color but not the correct shade of blue so this is a brand violation. Button 5 has a red border which makes it inconsistent with button 1 but this brand rule is only for the background-color so it does not violate the rule, so this would be a false positive. Note that a mix of CSS and specific styles has been used to set the background colour.

Images over backgrounds

This is not so much as a brand rule as a test of determining if a mistake has been made placing an image on a page. in practice, this might be placing the white logo on a white background rather than using the black logo.

sitemorse logo
on black
sitemorse logo
on white
sitemorse logo
on blue