![]() ![]() App opened and driver clicks on the element. When i Run this code in Android 4.2.1, It works well. ![]() ![]() String platformname = void getDesireCapabilities() throws MalformedURLException, InterruptedExceptionĭesiredCapabilities cap = new DesiredCapabilities() Ĭap.setCapability("deviceName", devicename) Ĭap.setCapability("platformName", platformname) Ĭap.setCapability("platformVersion", platformversion) Ĭap.setCapability("appPackage", "") Ĭap.setCapability("appActivity", ".Launcher") Ĭap.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, "100") ĭriver = new AndroidDriver(new usage playground']")).click() RemoteWebDriver driver String device = "Android" Real device or emulator/simulator: Real Device Mobile platform/version under test: 4.2.1 Node.js version (unless using Appium.app|exe): Node.js 6.11.0 (圆4) and npm Public RemoteWebDriver driver void beforeTest() throws MalformedURLExceptionĭesktop OS/version used to run Appium: Window 7 proffesional / 64 bit Note that same code works fine on desktop This has blocked me terribly, can someone please let know what am i missing here. Sample code is below and also attached the appium logs. tried using WebElement/MobileElement click() method.Tried using all below options but none worked Hi, I am trying to automate a simple login page on chrome or android browser on real device/emulator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |