lundi 23 novembre 2020

Remove part of string coming from database

This usuario.get(3) get from database the string "202019" but on the screen I get only 19.

Assert.assertEquals(usuario.get(3), pedidoPage.obterCicloConsultora(driver));

I want remove "2020" to make my assertion works.

Please, help me !!! Thank you !!!

Aucun commentaire:

Enregistrer un commentaire