Please see the questions for you here: What is the point of visualAssert?
I will close this post as duplicate.