0

I have a JUnit test, and need to run it using javac since I have a JunitTestSuite class that helps in running the tests in a specific order.

When I tried to execute the them using : javac command I got this error:

unmappable character for encoding Cp1252 and this is a snapshot for error:

enter image description here

this point to this line from code:

        WebElement password_error = $(Selectors.byText("الاسم يجب أن يكون أكثر من 1 وأقل من 32 حرفا!"));
        $(password_error).shouldBe(visible);

Although it didn't give me any error for other Arabic strings which I got used such like following:

            $("div.alert.alert-danger").shouldBe(visible).shouldBe(text("تحذير : رقم الجوال مسجل مسبقا!"));
Hana90
  • 943
  • 5
  • 17
  • 37

0 Answers0