Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Tom Fottinger
    @gselsidi Have you checked out
    @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
    Hi everyone
    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) {



    Tatiana Durova

    hi! I have an error
    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
    You don’t have admin privileges
    Tatiana Durova
    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."}}

    How are starting the server? Also share your code snippet
    Tatiana Durova
    @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
    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 = "";
    WinAppDriver.exe 4723
    Tatiana Durova
    as I understood there is no support for headless mode..
    Hi can I use Appium for load testing of Mobile App?
    Dai Pham Ngoc
    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
    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
    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 + appium, and run my tests on ChrossBrowserTesting platform
    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

    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?

    HI Everyone , Is it possible build test scripts using appium for 3rd party apps like Netflix , Youtube on Real IOS Devices ????
    Dan Rose
    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 ;-)
    @danrose77 Thanks for the response is it possible on IOS ?
    I have completed the android part But IOS part is pending
    Dan Rose
    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
    @danrose77 you can use JavaScript to set the value
    this is a test
    Hello , Is there anyone who is working in serenity BDD and appium
    someone guide me how to integrate appium with serenity BDD
    can I attach to an existing session using ruby and appium_lib?
    Looking through documentation it looks like I can only create new sessions