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:
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("تحذير : رقم الجوال مسجل مسبقا!"));