Hi All,
I am trying to use Robot Framework’s to automate mobile cloud devices where we are supposed to use Remote Appium hosted on that server .
We could not use that remote appium with RF , so created driver in JAVA and then tried to use keyword in RF. Now I want to use existing click,input keywords from RF-Selenium , so I can pass driver from JAVA to RF .
Sample JAVA Keyword -
public void setAndroidEnv() throws MalformedURLException {
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("platformName", "Android");
caps.setCapability("automationName", "UiAutomator2");
caps.setCapability("gigafox:username", "**********");
caps.setCapability("gigafox:ApiKey", "******************");
caps.setCapability("gigafox:device", "01f8211c-13a7-4e71-b449-1abc6346cd9b");
caps.setCapability("appPackage", "com.alightsolutions.upointmobile");
caps.setCapability("appActivity", "com.alightsolutions.upointmobile.MainActivity");
driver = new AppiumDriver(new URL("http://10.63.136.228/Appium"), caps);
}
Now I want to use this driver in RF framework to perform further actions on it .
Thanks!