check web elements & attributes in compare steps

Attempt to compare web element first in compare steps.  If the web
element is not found, then try to compare the bound attribute.  If no
web element or bound attribute is found then error on the comparison.