Created
June 24, 2013 18:25
-
-
Save freynaud/5852257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] a = {"-port", "4444", "-host", "localhost", | |
"-aut", SampleApps.getUICatalogFile(), | |
"-aut", SampleApps.getUICatalogIpad(), | |
"-aut", "/Users/freynaud/eBay.app"}; | |
IOSServerConfiguration config = IOSServerConfiguration.create(a); | |
IOSServer server = new IOSServer(config); | |
server.start(); | |
IOSCapabilities cap = IOSCapabilities.iphone("eBay"); | |
cap.setCapability(IOSCapabilities.SIMULATOR, true); | |
cap.setCapability(IOSCapabilities.IOS_SWITCHES, | |
Arrays.asList(new String[]{"-e", "useQA", "YES"})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment