by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tatiana Durova
    @tdurova
    @rsmodake you know, the tests are green if I watch what happens (switch to the virtual machine) and have a look. When it is minimize - the tests fail
    Message:
    Initialization method NotepadTest.ScenarioEditor.TestInitialize threw exception. System.InvalidOperationException: An unknown error occurred in the remote end while processing the command..
    and only changes locale session to the remote
    > protected const string WindowsApplicationDriverUrl = "http://10.11.244.104:4723";
    WinAppDriver.exe 10.11.244.104 4723
    Tatiana Durova
    @tdurova
    as I understood there is no support for headless mode..
    dharmendrasoni12
    @dharmendrasoni12
    Hi can I use Appium for load testing of Mobile App?
    Dai Pham Ngoc
    @daipn1859
    Does anyone know about MAX_FRAME_SIZE variable in appium-remote-debugger?
    I have some errors related to the app frame size but I don't know how to calculate it.
    Please help me to resolve this problem. Thank in advance!
    Silas HAYRI
    @silashayri
    Hi everyone
    I have a question that
    How I can write a beforetest class that has a switchable appPackage and appActivity
    and Select the wanted app to run in the test project
    I have multiple android apps in the same project
    Minja90
    @Minja90
    Hello everyone, can someone help me, can't accept Chrome permission on remote Android device
    Screenshot 2020-02-16 at 23.50.54.png
    I set in desired capabilities : autoGrantPermissions: true, noReset: false
    but still can't remove this pop up
    I'm using webdriver.io + appium, and run my tests on ChrossBrowserTesting platform
    imRSReddy
    @imRSReddy
    Hi everyone
    Scrolling down is not working in iOS
    Map<String, Object> scrolldownObject = new HashMap<>();
    scrolldownObject.put("direction", direction);
    scrolldownObject.put("element", element.getId());
    js.executeScript("mobile: scroll", scrolldownObject);
    it is working till yesterday but all of a sudden it is stoped working
    Dan Rose
    @danrose77

    Hi All,

    I'm using setValue on an element in a website built in react. It is working in all browsers except iOS Safari. Looks like its the same as this issue from 2018, which is closed: appium/appium#10883 anyone experienced this before and know of a workaround? Or are we doomed to not test react apps on iOS?

    Elanthingal
    @Elanthingal
    HI Everyone , Is it possible build test scripts using appium for 3rd party apps like Netflix , Youtube on Real IOS Devices ????
    Dan Rose
    @danrose77
    It is possible... easier on android, as you can get hold of an APK for the app. I'd imagine the companies involved wouldn't like it though unless you work for them ;-)
    Elanthingal
    @Elanthingal
    @danrose77 Thanks for the response is it possible on IOS ?
    I have completed the android part But IOS part is pending
    Dan Rose
    @danrose77
    It is, but you are going to need copies of the app in question and an apple developer account... why are you looking to automate a third party app though? Sounds dodgy
    rsmodake
    @rsmodake
    @danrose77 you can use JavaScript to set the value
    cppla
    @cppla
    this is a test
    ShivManikandan
    @ShivManikandan
    Hello , Is there anyone who is working in serenity BDD and appium
    someone guide me how to integrate appium with serenity BDD
    viktormelnychuk
    @viktormelnychuk_gitlab
    Hey
    can I attach to an existing session using ruby and appium_lib?
    Looking through documentation it looks like I can only create new sessions
    Akamel
    @Amrkamel1
    @Minja90
    set im your appium capabilities
    {"autoGrantPermissions": true}
    Minja90
    @Minja90
    Hey @Amrkamel1 , I did that but for some reason it won't work .
    config.capabilities = [
      {
        platformName: 'Android',
        browserName: 'Chrome',
        maxInstances: 1,
        record_video: true,
        deviceName: 'Galaxy S9',
        platformVersion: '9.0',
        deviceOrientation: 'portrait',
        autoGrantPermissions: true,
        autoAcceptAlerts: true,
        automationName: 'UiAutomator2',
        noReset: false,
        chromeOptions: {
          args: ['--deny-permission-prompts', '--disable-permissions-api', '--disable-media-session-api', '--disable-media-suspend', '--disable-popup-blocking']
    
        }
      }
    ];
    These ^^^^ are my capabilities :/
    Akamel
    @Amrkamel1

    @Minja90
    can you try this

    "chromedriverArgs", "--allow-file-access-from-files"

    Akamel
    @Amrkamel1
    @Minja90
    anyway i have just noticed that you are running the test against chrome not native app, in this case autoGrantPermissions wont work as its working with the installed app (apk) on global level not with chrome driver.
    the one i have mentioned above should work with you
    Satheesh Kumar
    @503649_gitlab
    Hi, Can we load an image to the imageView in an iOS application
    Akamel
    @Amrkamel1
    @Minja90
    another way around is to switch to native app context to be able to interact with the android pop up modal
    and inspect the element and manually click "allow"
        await driver.context('NATIVE_APP');
        let allowButton = await driver.element("xpath", ".//android.widget.Button[@text='Allow']")
        await allowButton .click();
    Shilpa Vasu
    @shilpa.vasu_gitlab
    hi, how can I resolve "Duplicate class org.openqa.selenium.WebDriver found in modules java-client-7.3.0.jar" in android studio
    anujtiwari24
    @anujtiwari24
    I have a in app webview, when I inspect it in real device i just get one element for entire page, but inspecting same page in simulator allows me to inspect all the elements on that webview. What to do, because finally the tests have to run on real devices. and it does not identify the elements there.
    Bernard
    @bernbad89_gitlab
    I want to use Appium to touch an arbitrary point on the home screen, like to automate tapping on an app, or automating opening up settings and change options by repeatedly sending touch x,y coordinates. Is this possible? For Android it can be done, but not sure about iOS.
    Rinaldo Di Giorgio
    @digitalrinaldo
    HI I am trying to run the ApiDemos-debug.apk sample app for Android 7 and I get the following error. appium-uiautomator2-server-debug-androidTest.apk' does not exist or is not accessible
    The docs on this page don't match the download --- http://appium.io/docs/en/about-appium/getting-started/?lang=en
    The last part of the path has a non debug name -- app: "/path/to/the/downloaded/ApiDemos.apk",
    the earlier link to download doesn't download a file by that name.
    Rinaldo Di Giorgio
    @digitalrinaldo
    The very first warning message is: Running '/Users/rdigiorgio/Library/Android/sdk/platform-tools/adb -P 5037 -s dc87b47323309955 forward tcp\:8200 tcp\:6790' [UiAutomator2] Server package at '/Users/user/.nvm/versions/node/v11.15.0/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is not writeable. Will copy it into the temporary location at '/var/folders/xg/lllyq3396dd0f814_3tv5yhc0000gs/T/2020127-77371-1eilqdz.fey8' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
    Elsid
    @gselsidi
    anyone know for Appium best selector method by speed? AccessbilityIds are ultrafast, as are ID's I haven't tried the others are they just as fast or does everything become like xpath brutally slow?
    Arunav Patgiri
    @jeetpatgiri

    Hey Everyone. I have a weird problem with my Android testing in which the Appium server stops responding when actions are performed on a page for some time. Actually the exact query failure is random. Either find elements will fail, or scroll will fail or get page source will fail. But there is a limited number of actions I can perform. I am assuming it has got to do with recycler views in android, which might be causing the issue, but I am not sure.

    For example, my app is an OTT one like Netflix with swim lanes for categories and multiple categories. So there is vertical scrolling for selecting a category and horizontal scrolling for selecting an asset in the category. If I find a category and then scroll the whole assets horizontally it fails in the validation of the next.

    If I don't to any scrolling and validate assets in view and check all categories then it fails after some are validated.

    Better if I just scroll up and down also for ten times, then the server gives up after 5-7 scrolls.

    Really not sure what to do :-(