Page 1 of 1
How to find the Screen Width & Height of the iOS App?
Posted: Mon May 11, 2015 7:26 am
by aravin
I want to find the Width & Height of the iOS App.
How to find that?
Kindly reply as soon as possible!!!
Re: How to find the Screen Width & Height of the iOS App?
Posted: Mon May 11, 2015 7:48 am
by aravin
I have found solution myself!!
Code: Select all
public static Ranorex.IosApp iosApplication="/mobileapp[@title='com.app.appname']";
public static int screenWidth=iosApplication.ScreenRectangle.Width;
public static int screenHeight=iosApplication.ScreenRectangle.Height;
Reference:
http://www.ranorex.com/blog/resize-window