I want to automate an pickerwheel which has values such as New (40), InProgress(50),Decline(60) . If i am using sendkeys method then its working , but the problem is that i have to give complete values in sendkeys such as Declined(50) , the number in bracket keeps on changing .
Therefore i tried with mobile:selectpickerwheel method , but while using this method i am getting Javascript Exception
Exception:
org.openqa.selenium.JavascriptException: javascript error (javascript error. Cannot parse the command: invalid parameters delimiter ‘(’ or ‘)’. e.g.: ‘seetest:client.click("", “”, …)’) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities {app: /Users/nidhi/Desktop/NewFra…, appBuildVersion: , appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, automationName: XCUITest, browserName: , bundleId: com.mindfire.Demo, commandTimeouts: 120000, desired: {app: ., automationName: XCUITest, browserName: , platformName: iOS, platformVersion: 13.0, udid: c1d7e7909e7ffa0cc6816a8d279…}, device.category: PHONE, device.majorVersion: 14, device.manufacture: Apple, device.model: iPhone 6s, device.os: iOS, device.screenSize: 750x1334, device.serialNumber: c1d7e7909e7ffa0cc6816a8d279…, device.version: 14.2, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: IOS, platformName: iOS, platformVersion: 13.0, projectName: , reportDirectory: reports, reportFormat: xml, reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 12/21/20 09:25 PM, udid: c1d7e7909e7ffa0cc6816a8d279…, useKeystore: false, waitForDeviceTimeout: 120000}
Please help