private RequestProcessor setupTouchAction() { server.respondTo("POST", "/element", new Dictionary <string, object> { { "ELEMENT", '5' } }); return(server.respondTo("POST", "/touch/perform", null)); }
public void FindOneElementTestCase() { server.respondTo("POST", "/appium/app/complex_find", new Dictionary <string, object> { { "ELEMENT", '5' } }); driver.FindComplex("abc"); }
public void CloseTestCase() { AndroidDriver <IWebElement> driver = new AndroidDriver <IWebElement>(defaultUri, capabilities); server.respondTo("DELETE", "/window", null); driver.Close(); }
public void FindElementByIosUIAutomationTestCase() { server.respondTo("POST", "/element", new Dictionary <string, object> { { "ELEMENT", '5' } }); IWebElement element = driver.FindElementByIosUIAutomation(".elements()"); server.clear(); server.respondTo("GET", "/element/5/attribute/id", "1234"); element.GetAttribute("id"); }
public void FindElementByAccessibilityIdTestCase() { IOSDriver driver = new IOSDriver(defaultUri, capabilities); server.respondTo("POST", "/element", new Dictionary <string, object> { { "ELEMENT", '5' } }); IWebElement element = driver.FindElementByAccessibilityId(".elements()"); server.clear(); server.respondTo("GET", "/element/5/attribute/id", "1234"); element.GetAttribute("id"); }
public void FindElementByIosUIAutomationTestCase() { IOSDriver <IWebElement> driver = new IOSDriver <IWebElement>(defaultUri, capabilities); server.respondTo("POST", "/element", new Dictionary <string, object> { { "ELEMENT", '5' } }); IWebElement element = driver.FindElementByIosUIAutomation(".elements()"); server.clear(); server.respondTo("GET", "/element/5/attribute/id", "1234"); element.GetAttribute("id"); }
public void ShakeDeviceTestCase() { IOSDriver <IWebElement> driver = new IOSDriver <IWebElement>(defaultUri, capabilities); server.respondTo("POST", "/appium/device/shake", null); driver.ShakeDevice(); }
public void CloseTestCase() { server.respondTo("DELETE", "/window", null); driver.Close(); }
public void ShakeDeviceTestCase() { server.respondTo("POST", "/appium/device/shake", null); driver.ShakeDevice(); }