How do I validate a text in a given field?
The location is xpath:
html/body/div[1]/div/div[4]/article/div[1]/div/header/div[1]/h1
The text is " Congratulations! Successfully inserted ".
How do I validate with assert? Java language.
Thank you in advance!