In this example, first "verifyText" command will go for checking that element "css=#gb_2 > span.gbts" contains text "xyz"? it
will return false because element "css=#gb_2 > span.gbts" has "Images" text but it will not stop next script execution. It will execute next command "assertText". Here is the same condition so that it will return false and due to the assert command, it will not execute next command.
- See more at: http://software-testing-tutorials-automation.blogspot.com/2012/11/different-between-verifytext-and.html#sthash.96e4R7Uz.dpuf