How to verify text alignment,font,color and background watermark in native application(Android and IOS)?

@jonahss I want to verify text alignment,font,color and background watermark in native application.
if this possible ,please post sample code for the same.

My answer
We cannot do it due to underlying framework limitation(UIAutomator and UIAutomation does not have any method for this. So appium cannot help us to get these).

In case any group member knows any solution please post it.

1 Like

I had a test case to check for font, color, background, etc. but unfortunately what @amitjaincoer191 said is correct: we don’t have a mechanism for that specific verification.
If anyone has a solution for this, please post it here. I would appreciate it.

You can compare actual screenshots with reference mockups, to do so you can use Sikuli/Imagemagik/applitools (Paid).

the biggest limitation of appium is this one only…U can check only functionality but not UI…I hears Calabash is capable of getting atleast the alignment details so try for that. Sikuli,applitools,etc…all work on image processing type but there is nothing to test UI that changes dynamically othern human eyes and brain