by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    stivesartarmon
    @stivesartarmon
    @chirag-farfetch , Can you please help me with initial get started of Appium with webdriverIO.
    chirag-farfetch
    @chirag-farfetch
    hello, i am trying to use - driver.launchApp(); however i get an error launchApp is not a function
    according to this tutorial
    http://appium.io/docs/en/commands/device/app/launch-app/
    i am trying to switch between two apps. but not finding a solution
    iflexsathish
    @iflexsathish
    Hi, has anyone tried Set/Get Clipboard APIs? We are able to Set value (base64 encoded) to clipboard. But "Get Clipboard" API is returning Null value. However, we are able to paste the value with a long press manually which confirms that the text is available in the clipboard. This is on ios (XCUITEST) device.
    Sterling
    @sterlingfire
    Hello, it seems this documentation page is returning a 404? http://appium.io/docs/en/commands/element/
    Where is the proper documentation?
    Tom Fottinger
    @FottingerTom_twitter
    image.png
    Could someone please help and explain why I’m getting this error.
    Calling AppiumDriver.performTouch() with args: [[{"action":"press","x":606,"y":1554},{"action":"moveTo","x":606,"y":1086},{"action":"release"}],"5ba69d07-3bb5-4afe-b0ed-ee17a8c3a141"]
    [W3C (5ba69d07)] Encountered internal error running command: TypeError: Cannot read property 'element' of undefined
    I thought the coordinates would take care of the need the need for element.
    I’m using Appium 1.15.1, with a Webdriverio client to test an app on an Android device.
    Elsid
    @gselsidi
    Has anyone here been able to implement locator and pageObjects like we do in Java with @androidFindBy @IosFindBy in javascript?
    Tom Fottinger
    @FottingerTom_twitter
    @gselsidi Have you checked out https://webdriver.io/docs/selectors.html
    Elsid
    @gselsidi
    @FottingerTom_twitter yes and it seems the only way to achieve the above as in Java, to assign potential different selectors to one variable is with accessibility selectors
    but that requires both apps to have the same accessibility labels
    which basically means they have the same exact locator
    the scenario is when the selectors are different assigning them to the same property variable, doing some sort of check like a try catch, until it finds the element. This is already built into Java with those annotations, and it does it automatically for you
    It seems here I'll have to code up the logic on my own, if i want to re-use tests, with different selector values for each app
    Andrew Williams
    @awilliams7777_gitlab
    Hi everyone
    @awilliams7777_gitlab
    I am trying to write a simple script that opens a IOS app and check if the login button exist on the login screen.
    However, the script I created is throwing errors
    I am not too familiar with the API
    Is the correct way to access the Login button on a iOS app const field = await client.$('accessibility id', 'SignInButton');
    Here is the complete code

    // javascript

    const wdio = require("webdriverio");
    const assert = require("assert");

    const opts = {
    port: 4723,
    capabilities: {
    platformName: "iOS",
    platformVersion: "12.1",
    automationName: 'XCUITest',
    deviceName: "iPhone 8",
    app: "/Users/test/Downloads/demo-test.ipa",
    deviceOrientation: 'portrait',
    }
    };

    async function main () {

    try {

     const client = await wdio.remote(opts);
    
     const field = await client.$('accessibility id', 'SignInButton');
    
     const value = await field.getText();
    
     assert.equal(value,"SIGN IN");
    
     await client.deleteSession();

    }
    catch(err) {
    console.log(err);
    }

    }

    main();

    Tatiana Durova
    @tdurova

    hi! I have an error
    Message:
    Class Initialization method AidaTest.ScenarioStart.ClassInitialize threw exception. System.InvalidOperationException: System.InvalidOperationException: Couldn't connect to remote machine. ---> System.InvalidOperationException: Couldn't get process information from performance counter. ---> System.ComponentModel.Win32Exception: Access is denied.

    I have to run one .exe file

    private const string testAppId = @"D:\sw-platform\BuildResults\Deployment\OR1Desktop.exe";
    Work with WinAppDriver
    rsmodake
    @rsmodake
    You don’t have admin privileges
    Tatiana Durova
    @tdurova
    where? I think i have..

    WinAppDriver says

    HTTP/1.1 500 Internal Error
    Content-Length: 133
    Content-Type: application/json

    {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

    rsmodake
    @rsmodake
    How are starting the server? Also share your code snippet
    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 ;-)