mercredi 23 septembre 2020

unable to read special characters(which is in French language) through testcafe script(TestCafe OpenSource engine)

I have written a assertion to read the data which is in French language using testcafe script . Example my text box is having value of "24-aug-2020" in English, when I see the same text in French it will show as "24-août-2020". For this I have written assertion like below. ** .expect(Selector('#InputID').find('.k-input').value).eql("24-août-2020")**.

But it is failing as testcafe script is reading as "?" which it can not read ie "24-ao?t-2020".

if I run through testcafe studio, it is working but it is failing through TestCafe OpenSource engine.

I request you to guide me on this to read the data like "août" or "2 020" etc.

Thanks Ramesh D

Aucun commentaire:

Enregistrer un commentaire