Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    MalathiSubramani
    @MalathiSubramani
    Hi, I am new to appium. Im trying to automate the hybrid application in iOS real devices. I was able to launch the application through .app file. I was able to locate the element using class name, but click action is not working. Can anyone help me in this.
    Navin Seth
    @NavinSeth
    Any ideas on my issue?
    drawat71
    @drawat71
    Hello, i have updated my appium to 1.16.0 . while running test suite, I am getting this error "
    [debug] [W3C] Encountered internal error running command: Error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output. " does any body knows abt it
    ? Thanks!
    @toien44 hey were you able to fix this issue ? i am getting similar kind of issue
    Manikandan M G
    @mgmanikandan87
    aparna
    @aparna2450_gitlab
    Hi. I am getting this issue on appium ...An unknown server-side error occurred while processing the command. Original error: '13.1' does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences.An unknown server-side error occurred while processing the command. Original error: '13.1' does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences.
    give me solution if anyone have idea
    Trần Trung Nghĩa
    @NTTIoT
    Hi every one, have u ever stuck at this problem?
    SyntaxError: Cannot use import statement outside a module
    at compileFunction (<anonymous>)
    at Module._compile (internal/modules/cjs/loader.js:881:18)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
    at Module.load (internal/modules/cjs/loader.js:798:32)
    at Function.Module._load (internal/modules/cjs/loader.js:711:12)
    at Module.require (internal/modules/cjs/loader.js:838:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (../../lib/appium.js:10:60)
    at Module._compile (internal/modules/cjs/loader.js:945:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
    at Module.load (internal/modules/cjs/loader.js:798:32)
    at Function.Module._load (internal/modules/cjs/loader.js:711:12)
    at Module.require (internal/modules/cjs/loader.js:838:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (../../lib/main.js:13:39)
    at Module._compile (internal/modules/cjs/loader.js:945:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
    at Module.load (internal/modules/cjs/loader.js:798:32)
    at Function.Module._load (internal/modules/cjs/loader.js:711:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1014:10)
    at internal/main/run_main_module.js:17:11
    getloud
    @getloud
    Can someone help me to run automation tests
    Appium 1.16.0
    appium java client 7.3.0
    Selenide 5.6.0
    Android 10 (Pixel)
    Chromedriver 79.0.39
                capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
                capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, config().deviceName());
                capabilities.setCapability(MobileCapabilityType.UDID, config().udid());
                capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "Chrome");
                ChromeOptions chromeOptions = new ChromeOptions();
                chromeOptions.setExperimentalOption("w3c", false);
                capabilities.merge(chromeOptions);
                capabilities.setCapability("automationName", "uiautomator2");
                capabilities.setCapability("chromedriverExecutable", "/usr/local/bin/chromedriver");
                capabilities.setCapability("appiumVersion", "1.16.0");
    INFO: Detected dialect: W3C
    
    org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: socket hang up
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'UKR-Oleksandr-L.local', ip: 'fe80:0:0:0:863:cd64:e760:93cb%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.3', java.version: '1.8.0_144'
    Driver info: io.appium.java_client.AppiumDriver
    selenide.url: https://www.seekingalpha.com
    Capabilities {appActivity: com.google.android.apps.chr..., appPackage: com.android.chrome, appiumVersion: 1.16.0, automationName: uiautomator2, browserName: chrome, chromedriverExecutable: /usr/local/bin/chromedriver, databaseEnabled: false, desired: {appiumVersion: 1.16.0, automationName: uiautomator2, browserName: chrome, chromedriverExecutable: /usr/local/bin/chromedriver, deviceName: Pixel, goog:chromeOptions: {args: [], extensions: [], w3c: false}, newCommandTimeout: 180, platformName: android, udid: FA77S0307089}, deviceApiLevel: 29, deviceManufacturer: Google, deviceModel: Pixel, deviceName: FA77S0307089, deviceScreenDensity: 420, deviceScreenSize: 1080x1920, deviceUDID: FA77S0307089, goog:chromeOptions: {args: [], extensions: [], w3c: false}, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 180, pixelRatio: 2.625, platform: LINUX, platformName: Android, platformVersion: 10, statBarHeight: 63, takesScreenshot: true, udid: FA77S0307089, viewportRect: {height: 1731, left: 0, top: 63, width: 1080}, warnings: {}, webStorageEnabled: false}
    selenide.baseUrl: http://localhost:8080
    Session ID: 9ab0719c-8002-4523-96ab-62c407519463
    
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
        at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
        at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
    Ghost
    @ghost~5e221ff4d73408ce4fd701f6
    Hi there! I had a question I hope you'd folks would be able to assist with.
    This is about the real device screen rotate command. Is it supposed to work when the app is either closed or in the background?
    • If I background the app, then do a rotate command… it seems to wait until the background is complete, the app re-opens, and then does the rotation.
    • If I close out the app, the rotate command errors and tells me about the disobedient app "Set the orientation, but app refused to rotate."
    Tom Fottinger
    @FottingerTom_twitter

    I need some help. I’m using the following.
    Appium 1.16.0 and Appium Desktop 1.15.1
    Running locally on a real iPhone XS, iOS 13
    "@wdio/appium-service": "^5.12.1",
    "@wdio/cli": "^5.12.4",
    "@wdio/jasmine-framework": "^5.12.1",
    "@wdio/local-runner": "^5.12.4",
    "@wdio/spec-reporter": "^5.12.1",
    "@wdio/sync": "^5.12.3",
    Javascript

    I used the Appium Desktop to identify the selector information. Some elements don’t have an accessibility ids. So, I tried to use xpath, example : “//(XCUIElementTypeOther[@name="login”])[5]”, but I get the following error.

    [0-0] 2020-01-19T16:18:50.758Z INFO webdriver: COMMAND findElement("xpath", "//(XCUIElementTypeOther[@name="login"])[5]")
    [0-0] 2020-01-19T16:18:50.759Z INFO webdriver: [POST] http://127.0.0.1:4723/wd/hub/session/29ee7eba-cf8b-4def-a673-6363d6eb2683/element
    [0-0] 2020-01-19T16:18:50.760Z INFO webdriver: DATA { using: 'xpath',
    value: '//(XCUIElementTypeOther[@name="login"])[5]' }
    [0-0] 2020-01-19T16:18:51.086Z INFO webdriver: RESULT { error: 'no such element',
    message:
    'An element could not be located on the page using the given search parameters.',
    stacktrace:
    'NoSuchElementError: An element could not be located on the page using the given search parameters.\n at XCUITestDriver.doNativeFind (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:126:11)' }

    None of the other xpaths work.

    MalathiSubramani
    @MalathiSubramani
    Any update on my issue
    Veera Subba Reddy
    @subbulomada_twitter
    Hi All
    I am seeing nosuchcontext error while trying to switch webview in Java
    Alexandru-Sorin Maxim
    @Nosferatul
    Hello, i need some help, regarding performance log type. This log type is only available in a web context ? I get the error An unknown server-side error occurred while processing the command. Original error: No logs of type 'performance' found. Thank you!
    Nilesh
    @nrakshe
    Basic Question:
    May i pls know, why are we using appium for mobile automation? why not selenium ?
    Pooja0907
    @Pooja0907
    @nrakshe appium supports mobile device automation, selenium does not support.That is why with appium you can use selenium to test or use some features
    Pooja0907
    @Pooja0907
    Hi, is there any one who is using xamarin test cloud'or app center,I need help.Please ping me .When I am running my test it is keep on executing continuously and I had to cancel my test after an hour which doesn't give me any report.
    Dai Pham Ngoc
    @daipn1859
    @imurchie
    Please help me to explain what is the unit of mesure for MAX_FRAME_SIZE
    in the link below
    https://github.com/appium/appium-ios-device/blob/891ac29cfcbe4fba4be3709646a114da26cdcc16/lib/webinspector/index.js#L14
    Our hybrid app throws the error [debug] [XCUITest] We are in the middle of selecting a page, ignoring uncaughtException: The frame is bigger than expected. Length: 21974315, max: 20000000
    And I don't know how to get the app frame size and calculate it also.
    Please send me some feedbacks if you have any ideas.
    Thank you so much for your time!
    Johan Hernefeldt
    @presidenten

    Do I have to do some magic for signing to work in appium 1.16.0 (installed via npm) for IOS real device?
    I can build and run just fine from xcode, I can also manually run xcodebuild -allowProvisioningUpdates -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=redacted' test without any problem in /appium/node_modules/appium-webdriveragent

    But when the tests run I get Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.

    Any ideas what I am missing?

    (I have DEVELOPER_TEAM and CODE_SIGN_IDENTITY in ~/.xcconfig and as properties in capabilities)

    AbhijitPaithane
    @AbhijitPaithane
    @presidenten I am facing same issue
    iDroidika
    @iDroidika
    When I try to change context to WEBVIEW in code, Appium hangs and after a long time fails to change context. WHat could be teh possible causes?
    UdaraWick
    @UdaraWick
    Is there anyone how have tried two mobile apps run in one appium session one after another ?
    In Android
    anuanand15
    @anuanand15

    I have been trying to run Appium programatically and its always showing connection refused error (Snapshot attached)

    Details:-- MACOS:Catalina and Appium version:1.16.0

    I have checked that no other session for Appium is running on my machine also appium can run fine when i start session from terminal via command below

    appium --address 127.0.0.1 --port 4723

    Appium desktop is also working fine, But need to start Appium service programatically as my framework needs it.

    To Debug I have tried to run on different ports and different Ips also but its still not working Please help if you have faced such issue.

    Connection Refused Error is coming everytime
    Tom Fottinger
    @FottingerTom_twitter

    I am unable to test a React Native Switch feature on an exiting app loaded on an iPhone.
    The goal is to be able to toggle the switch with Appium.
    The React Native Switch does not have the properties testID or accessibiltyLabel.
    I have the following

    <View>
    <ScrollView>{options.map(this.renderRow)}</ScrollView>
    </View>
    One of the options renders to

    <TouchableOpacity>
    accessibiltyLabel=’feature1’
    <View>
    <View>
    </View>
    <Switch />
    </View>
    </TouchableOpacity>
    Appium finds the element with the accessibiltyId=‘feature1’ and the xpath, but it does not provide any XPaths to the children components.
    Any ideas as to how I can locate the Switch element?

    Tom Fottinger
    @FottingerTom_twitter
    Update, Appium does identify an xpath to the Switch element when working with an android phone.
    ather-ctrl
    @ather-ctrl
    Hello....could you please let me know latest appium version in linux?
    Johan Hernefeldt
    @presidenten
    @AbhijitPaithane I solved it :-)
    Now we need to set organization and signing in the project located here node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragentinstead of node_modules/appium/node_modules/appium-webdriveragent
    Samantha Vale
    @karlasamantha
    Hi! Anyone else having issues with acceptAlert? It seems like it's not working properly
    stivesartarmon
    @stivesartarmon
    Hello everyone, i have got a task to check mobile automation using WebDriverIO and appium , Can anyone please share some guidelines/tutorial on how to get started(it will be really helpful). Any youtube video if anyone have.
    Dhamaka
    @Dhamaka_Singh__twitter
    Hi, Can some one tell me how to scroll ?
    ashwinsgm
    @ashwinsgm
    I have a scenario where I need to take photo of the ID card from the app. To automate this scenario , I want to pass the picture from gallery when camera is opened and this image should be populate. How to automate this scenario??
    ashwinsgm
    @ashwinsgm

    I have a scenario where I need to take photo of the ID card from the app. To automate this scenario , I want to pass the picture from gallery when camera is opened and this image should be populate. How to automate this scenario??

    Any solution available for this scenario

    SukeshBolar-tech
    @SukeshBolar-tech
    Hi, when i tried to run my script in iOS13.3 simulator - app crashes on launch. It works fine in iOS 12.2. I have the latest appium version. Any help on this?
    aeutalt
    @aeutalt
    has anyone ever stumbled on appium showing IDs as squares?
    all my element IDs and xpaths are outputting the ID = 
    like, real squares
    //XCUIElementTypeOther[@name=\"\"])[2] // not even the xpaths are outputting id correctly
    rookieInTraining
    @rookieInTraining
    Hi, I'm using selenium-aplha-4 and appium 7.3.0. While running the mobile tests I'm getting the following exception :
    java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.createDriverService(Ljava/io/File;ILjava/time/Duration;Lcom/google/common/collect/ImmutableList;Lcom/google/common/collect/ImmutableMap;)Lorg/openqa/selenium/remote/service/DriverService;
    This works well when I downgrade the version of selenium to the current stable 3.141.59
    rookieInTraining
    @rookieInTraining
    hmm.. looks like the DriverService in the selenium-remote-driver of the alpha version is expecting 5 parameters instead of 4 which are in Appium
    Hizkia Nowaly
    @hizkianowaly
    @stivesartarmon https://www.youtube.com/watch?v=-_6C_-CMqSk try this one!
    Hi!, can we setup automation with free apple id?
    BELGIJOSE
    @BELGIJOSE
    Error
    An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in ["C:\android-sdk\tools\bin\platform-tools\adb.exe","C:\android-sdk\tools\bin\emulator\adb.exe","C:\android-sdk\tools\bin\tools\adb.exe","C:\android-sdk\tools\bin\tools\bin\adb.exe"]. Do you have Android Build Tools installed at 'C:\android-sdk\tools\bin'?
    why am i getting this error? instead of showing emulator
    rookieInTraining
    @rookieInTraining
    @BELGIJOSE Its because of adb.exe. Is it installed on your machine? If yes, is it installed in one of the below mentioned paths?
    [
    "C:\android-sdk\tools\bin\platform-tools\adb.exe",
    "C:\android-sdk\tools\bin\emulator\adb.exe",
    "C:\android-sdk\tools\bin\tools\adb.exe",
    "C:\android-sdk\tools\bin\tools\bin\adb.exe"
    ]