how can I compare 2 strings in selenium Xtend using IF statement
if( errormsg) isEqualTo ('missing or invalid')
var maref =getMaref
this is giving error
I tried with compareTo and "==" but still no luck
thanks for your help
with the 'var' I'm guessing you're using a .Net language, in that case, "'missing or invalid".Equals(errorMsg), would work.