I am not able to understand how to write Java code to implement Verify. I am always seeing the code to implement Assert but not for Verify
Verify
Assert
Even if TestNG does not support verification directly you can create soft assertions which will act like verifications. Kindly check this link: http://seleniumexamples.com/blog/guide/using-soft-assertions-in-testng/