I am using Appium to send messages through WhatsApp, but are facing some text formatting challenges while sending the messages, whereby some line breaks and spaces are removed when the message is parsed via Appium into the Whatsapp UI. The messages are sent with links and emoji’s using appium and Java, but line breaks and spaces are often (not always) removed while typing the message into the WhatsApp UI using “SendKey()” function.
I have set the Unicode keyboard capability to support the emoji’s and other languages like Arabic. The Appium version 1.6.4. is used here.
Has anyone else experienced issues with text formatting like this, when using Appium?
Below is the code snippet and screen shot of original message and phone message for more context:
Original Message (Example text):
Welcome to the test application.
Thanks from the test application
Any help you can provide would be greatly appreciated. Thanks in Advance!