This is the code snippet found in the application
div id="StatusCircle" style="float: right; width: 50px; height: 50px;-webkit-border-radius: 25px;-moz-border-radius: 25px;border-radius: 25px;background: RED;" - indicating failure
div id="StatusCircle" style="float: right; width: 50px; height: 50px;-webkit-border-radius: 25px;-moz-border-radius: 25px;border-radius: 25px;background: GREEN;" - representing success
I am able to locate
.//*[@id='MainContent']/a[2]/div/div/div[@id='StatusCircle']
However, I'm unsure how to determine if it's colored red or green.