Robust solution to check distortion in page in landscape and potrait
on changing to landscape the button,dialogbox,dropdown,label shift toward left side or out of the screen. To verify if such shifts does not happen in automated way.
However the solution should be robust to all devices under same platform.
EG: Pixel to pixel would not work since it would be specific to single device
I'm not entirely sure I follow what you're asking here; could you be more specific or describe a particular scenario you have in mind?