Code: caps.setCapability("maxTypingFrequency", 15); Maximum frequency of keystrokes for typing and clearing a text field. If your tests are failing because of typing errors, you may want to adjust this. Values in keystroked per minute. Value: Read More
Categories : Uncategorized
Posted by Sridatta Pani
No Comments
14 October

Event timings

Code: caps.setCapability("eventTimings", true) Enable or disable Appium's ability to report timing data for various internal events (e.g., the start and end of each command). To enable, set to true. The timing data are reported as Read More
Categories : Uncategorized
Posted by Shibu Panda
No Comments
How long (in seconds) Appium will wait for a new command from the client before assuming the client quit and ending the session. Setting to 0 will disable the new command timeout, effectively letting automation Read More
Categories : Uncategorized
Posted by Shah Nawaz
No Comments
Doesn't stop the process of the app under test, before starting the app using adb. If the app under test is created by another anchor app, setting this false, allows the process of the anchor Read More
Categories : Uncategorized
Posted by Sridatta Pani
No Comments
Have Appium automatically determine which permissions your app requires and grant them to the app on install. If noReset capability is true, this capability doesn't work. Eg:-capabilities.setCapability("autoGrantPermissions", false); Valid Values:-true,false Default value:false. Read More
Categories : Uncategorized
Posted by Ahmad Sayeed
No Comments
public void swipeUPOnElement(WebElement element) { Point point = element.getLocation(); Dimension eleSize = element.getSize(); int centerX = point.getX() + (eleSize.getWidth() / 2); int centerY = point.getY() + (eleSize.getHeight() / 2); int moveToX = point.getX() + (eleSize.getWidth() Read More
Categories : Uncategorized
Posted by Shah Nawaz
No Comments
public void swipeRightOnElement(WebElement element) { Point point = element.getLocation(); Dimension eleSize = element.getSize(); int centerX = point.getX() + (eleSize.getWidth() / 2); int centerY = point.getY() + (eleSize.getHeight() / 2); int moveToX = point.getX() + (eleSize.getWidth()); Read More
Categories : Uncategorized
Posted by Shibu Panda
No Comments
public void swipeLeftOnElement(WebElement element) { Point point = element.getLocation(); Dimension eleSize = element.getSize(); int centerX = point.getX() + (eleSize.getWidth() / 2); int centerY = point.getY() + (eleSize.getHeight() / 2); int moveToX = point.getX(); int moveToY Read More
Categories : Appium, Tips & Tricks
Posted by Sridatta Pani
No Comments
There are many reasons when want to track a method that we call.  The common one is to track how much time a method is taking. However, there is a simple way to track time Read More
Categories : Tips & Tricks
Posted by Ahmad Sayeed
No Comments
By this script we can refresh or reload the webPage. driver.refresh(); Read More
Categories : Appium
Posted by Sridatta Pani
No Comments