Assertion failed



Why did this assertion failed? Everything looks same.

Hi Sanikidzetemo,

Can you share a snippet of your code? We can’t give a solution by just sending the error message.


Hello , thanks for reply

Hi Sanikidzetemo,

That is so weird. . . .

Could you try this other workaround instead of using just an “assert” keyword:

WebUI.verifyEqual(k, x)
WebUI.verifyMatch(k.toString(), x.toString(), false)

//import junit.framework
import junit.framework.Assert

Assert.assertEquals(k, x)
Assert.assertTrue(k == x)

Hope that helps. . . :slight_smile: