예제 #1
0
 public void RotateTestCase()
 {
     IOSDriver<IWebElement> driver = new IOSDriver<IWebElement>(defaultUri, capabilities);
     server.respondTo("POST", "/appium/device/rotate", null);
     Dictionary<string, int> parameters = new Dictionary<string, int> {{"x", 114}, 
				{"y", 198}, {"duration", 5}, {"radius", 3}, {"rotation", 220}, {"touchCount", 2}};
     driver.Rotate(parameters);
 }