Pranav Venkatachalam
Pranav Venkatachalam
@aandryashin @innokenty @vania-pooh I am trying to native app automation. File app = new File("/Volumes/Installers/UIKitCatalog.ipa"); DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("automationName", "XCUITest"); capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone"); capabilities.setCapability(MobileCapabilityType.VERSION, "10.0.1"); capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS"); capabilities.setCapability("sendKeyStrategy","setValue"); capabilities.setCapability("--no-reset",...
i believe selenograph or grid router cannot do automation on native app , since you check for browser name field in desired capabilities in the test case , but for...
https://github.com/seleniumkit/gridrouter/blob/e13ca5ecd3fda68f4e4c318a866f7a871107d548/proxy/src/main/resources/xsd/json.xsd here see you have configured json.xsd to contain browserName and version , but when browser name of iPhone goes to hub and then to appium node it starts safari...
@aandryashin , if i point it directly do hub , it works without browser name & with platform name , if route it through grid router it does not ,...
@aandryashin :- i know grid router is just a proxy , tried that it does not work as it seems
tried direct node , it still starts safari , i believe appium checks for browserName key in JSon caps and automatically starts safari irrespective of native or web
so browser name key in json caps should be absent to enable appium to run native app
can i get a sample xml for an iOS and Android Device, because if i do i get an error stating that no device with desired capabilities found
i am able use appium for mobile web using selenograph but not for native mobile via selenograph
This is my sample xml in quota , im not able to execute in native iOS or Android but its working for mobile web ` `