Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Manchiken
    @Manchiken
    Hi, guys. Tell me how to use appium on ios to find the shadow element. This issue says that in version 1.16 this was fixed by appium/appium#9733, but it doesn’t work for me. Can you confirm that this problem is really resolved? I use java
    Vadym Morozov
    @flexin777
    @daipn1859 Hello
    It can be because of you have some Alert - it is native alert
    Níkolas Escobar
    @NikoEscobar

    Hi how you guys are doing,

    Quick question:

    There is a way of getting the current sessionsID? from any appium endpoint maybe?

    KS261187
    @KS261187
    Hello, guys
    Does anyone faced any issues running Appium with iOS 13.3
    I am getting this error
    Error Domain=XCTDaemonErrorDomain Code=11 "No AXElement found at {160 284}:
    I checked with Appium and they are saying it is an Apple issue
    I did not see this error in 13.2.3
    Zeinab Mohamed Abdelmawla
    @zeinabmohamed
    Hello All , i can't run Appium desktop app "The application “Appium.app” can’t be opened." on MAc OS Catalina 10.15.1
    Mahendren
    @Mahendren26_twitter
    Hi team. we are facing the issue "could not establish connection to license server appium studio" while connecting with our office network. Please let us know the license server host name and port details which need to be allowed from our firewall end
    Sven Murat
    @sven14_gitlab
    I'm getting 'Original error: invalid argument: cannot parse capability: goog:chromeOptions' when trying to switch context to hybrid app, why is this happening? after that I can't do anything...
    tandt53
    @tandt53

    Hi guys. Please help to suggest any solution to find svg element that embedded in webview ? I tried xpath like //*[name()='svg'], but it does not work.

    org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: (//*[name()='svg']//*[name()='g'])[1]

    Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: (//*[name()='svg']//*[name()='g'])[1]

    aizaztoppa
    @aizaztoppa
    im getting a 'command not supported error' when attempting to use browser.getWindowHandles() on android device via Browserstack (appium version 1.15), im in the "CHROMIUM" context when attempting to retrieve window handles works fine locally, just not browserstack
    browser.getWindowHandle() seems to work just fine on browserstack any tips on debugging?
    Rahul Jaisinghani
    @rahul-bs
    Hi @aizaztoppa, for which android device are you running the test and is it a post request?
    aizaztoppa
    @aizaztoppa
    @rahul-bs using Galaxy S9 (os version 9) via browserstack
    its just a GET request
    which fails when attempting on browserstack
    works fine locally
    @rahul-bs also, here's the webdriverio logs:
    2019-12-27T19:42:24.299Z INFO webdriver: COMMAND getWindowHandles() [0-0] 2019-12-27T19:42:24.299Z INFO webdriver: [GET] https://hub-cloud.browserstack.com:443/wd/hub/session/807710f243faa4d8e1184874a20fc037142ca8c1/window/handles [0-0] { status: 9, value: { message: 'Command not supported.' } } [0-0] 2019-12-27T19:42:24.321Z WARN webdriver: Request failed due to Command not supported. [0-0] 2019-12-27T19:42:24.322Z INFO webdriver: Retrying 1/1 2019-12-27T19:42:24.322Z INFO webdriver: [GET] https://hub-cloud.browserstack.com:443/wd/hub/session/807710f243faa4d8e1184874a20fc037142ca8c1/window/handles [0-0] { status: 9, value: { message: 'Command not supported.' } } [0-0] 2019-12-27T19:42:24.345Z ERROR webdriver: Request failed due to Error: Command not supported.
    even though the same requests work fine locallu
    Kajol994
    @Kajol994
    does appium work for Ubuntu OS
    pricequester
    @pricequester
    Is the Inspector significantly "snappier"/better in terms of gui lag, etc on better hardware (windows) or is it mainly tied to handset specs?
    Ralph
    @allkindsofralph
    Hi, I am doing research before a system upgrade. Anyone know if appium is running well in macOS Catalina?
    James Spencer
    @spencerj1
    Hey has anyone encountered an issue in real-device testing on iOS - Appium spins up safari and navs to the correct url for testing, but then does nothing. No errors in test logs or Appium log, just seems like its failing to actually run my webdriverio tests without logging any errors. iOS 13.3
    chirag-farfetch
    @chirag-farfetch
    can anyone suggest something
    sangita subudhi
    @bsangitasubudhi_gitlab

    Hi All Getting configuration issue while running the ios code mac catalina 10.15 xcode version 11.3 appium 1.71package ssp_eCom_app;

    import java.awt.AWTException;
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.time.Duration;
    import java.util.Hashtable;
    import org.apache.commons.lang.exception.ExceptionUtils;
    import org.apache.log4j.Logger;
    import org.openqa.selenium.Capabilities;
    import org.openqa.selenium.Dimension;
    import org.openqa.selenium.ElementNotVisibleException;
    import org.openqa.selenium.NoSuchWindowException;
    import org.openqa.selenium.SessionNotCreatedException;
    import org.openqa.selenium.remote.DesiredCapabilities;
    import org.testng.Assert;
    import org.testng.SkipException;
    import org.testng.annotations.AfterMethod;
    import org.testng.annotations.AfterTest;
    import org.testng.annotations.BeforeTest;
    import org.testng.annotations.DataProvider;
    import org.testng.annotations.Parameters;
    import org.testng.annotations.Test;
    import com.relevantcodes.extentreports.LogStatus;
    import com.skidata.common.Admin_App_Android;
    import com.skidata.common.Ecom_ssp;
    import com.skidata.testBase.TestBase;
    import com.skidata.util.ConstantValues;
    import com.skidata.util.DataUtil;
    import io.appium.java_client.AppiumDriver;
    import io.appium.java_client.MobileElement;
    import io.appium.java_client.TouchAction;
    import io.appium.java_client.android.AndroidDriver;
    import io.appium.java_client.remote.MobileCapabilityType;
    import io.appium.java_client.touch.WaitOptions;
    import io.appium.java_client.touch.offset.PointOption;
    import io.appium.java_client.ios.IOSDriver;
    import io.appium.java_client.ios.IOSElement;

    public class Anonymous_User_Reservation extends TestBase {

    public static final Logger log = Logger.getLogger(Anonymous_User_Reservation.class.getName());
    
    Ecom_ssp AdminVar;

    // public static IOSDriver<IOSElement> driver;
    public AppiumDriver<MobileElement> driver;

    public static DesiredCapabilities capabilities;
    
    String testName = "Anonymous_User_Reservation";
    
    @Parameters({ "runOn"})
    
    @BeforeTest
    public void Setup(String runOn) throws MalformedURLException, InterruptedException {
    
    
    
    
        Capabilities caps = new DesiredCapabilities();
        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
        capabilities.setCapability(MobileCapabilityType.NO_RESET, true);
        capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "XCUITest");
        capabilities.setCapability("useNewWDA", false);
        capabilities.setCapability("xcodeOrgId", "[YOUR_TEAM_ID]");
        capabilities.setCapability("xcodeSigningId", "iPhone Developer");
        capabilities.setCapability(MobileCapabilityType.UDID, "[YOUR_DEVICE_UDID]");
        //capabilities.setCapability(MobileCapabilityType.APP, "/Users/sangitasubudhi/Desktop/ssp_plugin.ipa");
        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iphone x");
        capabilities.setCapability("updatedWDABundleId", "[YOUR_BUNDLE_ID]");
        String appPath = "/Users/sangitasubudhi/Documents/ssp_plugin.ipa/ParentApp.ipa";
        File app = new File(appPath);
        capabilities.setCapability("app", app.getAbsolutePath());

    // driver = new AndroidDriver(new URL("http://"+URL_), caps);
    // driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), caps);

        if(runOn.equals("55641c3260ddf19af2d050f6f39e7c1042fde3f6")){
    
            capabilities.setCapability("udid", "55641c3260ddf19af2d050f6f39e7c1042fde3f6");
            driver = new IOSDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);  
    
            System.out.println(" Sangita testing ===============+++++++++>");
    
        }
    }
    
    @AfterTest
    public void tearDown() throws Exception{
        driver.quit();
    }
    
    @DataProvider
    public Object[][] getDataForTestCaseName() {
        return DataUtil.getDataForTestCaseName(SSP_xls, testName);
    }
    
    @Test(dataProvider = "getDataForTestCaseName", testName = "", description = "This method will do reservation for anonymous user"
    can anyone resolve this issue
    chirag-farfetch
    @chirag-farfetch
    having issues with running multiple apps at the same time to do end to end testing - it is this one - https://stackoverflow.com/questions/59610529/connecting-two-appium-apps-at-the-same-time-and-doing-end-to-end-tests-on-them
    able to work with 1 app and 1 browser. however when i add one more app it does not work
    can anyone help?
    sangita subudhi
    @bsangitasubudhi_gitlab
    One more issue is there for android appium horizontal scroll but scroll is not happening till the element mentioned it's scrolling only one tab ,i used setAsHorizontalList() .scrollintoview().uiselector
    MobileElement element = driver.findElement(MobileBy.AndroidUIAutomator(
    "new UiScrollable(new UiSelector().resourceId(\"com.android.vending:id/items\")).setAsHorizontalList().scrollIntoView("
                + "new UiSelector().descriptionContains(\"Family\"))"));
    chirag-farfetch
    @chirag-farfetch
    Piduna
    @Piduna

    Hello, i have a little problem.
    When i am trying to run tests via console apium, i have this error.

    [Xcode] 2020-01-10 14:28:24.860 xcodebuild[17302:556797] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/Valerii/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd93ae4ee60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
    [Xcode]
    [Xcode]
    [Xcode] Test session results, code coverage, and logs:
    [Xcode]         /Users/Valerii/Library/Developer/Xcode/DerivedData/WebDriverAgent-aiaejbhejflmruhkhsmeebmhbaia/Logs/Test/Test-WebDriverAgentRunner-2020.01.10_14-28-24-+0200.xcresult
    [Xcode]
    [Xcode]
    [Xcode] Testing started on 'Cohero’s iPhone X'
    [Xcode]
    [Xcode] Testing failed:
    [Xcode]         Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
    [Xcode]         WebDriverAgentRunner:
    [Xcode]                 WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
    [Xcode]
    [Xcode] ** TEST EXECUTE FAILED **
    [Xcode]
    [Xcode]

    When i am starting via Apium Desktop, everything is fine.
    My apium-doctor:

    info AppiumDoctor Appium Doctor v.1.13.0
    info AppiumDoctor ### Diagnostic for necessary dependencies starting ###
    info AppiumDoctor  ✔ The Node.js binary was found at: /usr/local/bin/node
    info AppiumDoctor  ✔ Node version is 12.13.1
    info AppiumDoctor  ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
    info AppiumDoctor  ✔ Xcode Command Line Tools are installed in: /Applications/Xcode.app/Contents/Developer
    info AppiumDoctor  ✔ DevToolsSecurity is enabled.
    info AppiumDoctor  ✔ The Authorization DB is set up properly.
    info AppiumDoctor  ✔ Carthage was found at: /usr/local/bin/carthage. Installed version is: 0.34.0
    info AppiumDoctor  ✔ HOME is set to: /Users/serg
    info AppiumDoctor  ✔ ANDROID_HOME is set to: /Users/serg/Library/Android/sdk
    info AppiumDoctor  ✔ JAVA_HOME is set to: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home
    info AppiumDoctor  ✔ adb exists at: /Users/serg/Library/Android/sdk/platform-tools/adb
    info AppiumDoctor  ✔ android exists at: /Users/serg/Library/Android/sdk/tools/android
    info AppiumDoctor  ✔ emulator exists at: /Users/serg/Library/Android/sdk/tools/emulator
    info AppiumDoctor  ✔ Bin directory of $JAVA_HOME is set
    info AppiumDoctor ### Diagnostic for necessary dependencies completed, no fix needed. ###
    info AppiumDoctor
    info AppiumDoctor ### Diagnostic for optional dependencies starting ###
    info AppiumDoctor  ✔ opencv4nodejs is installed at: /usr/local/lib. Installed version is: 5.5.0
    info AppiumDoctor  ✔ ffmpeg is installed at: /usr/local/bin/ffmpeg. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
    info AppiumDoctor  ✔ mjpeg-consumer is installed at: /usr/local/lib. Installed version is: 2.0.0
    info AppiumDoctor  ✔ set-simulator-location is installed
    info AppiumDoctor  ✔ idb and idb_companion are installed
    info AppiumDoctor  ✔ applesimutils is installed at: /usr/local/bin/applesimutils. Installed versions are: applesimutils 0.7.6
    info AppiumDoctor  ✔ ios-deploy is installed at: /usr/local/bin/ios-deploy. Installed version is: 1.10.0
    WARN AppiumDoctor  ✖ bundletool.jar cannot be found
    pmegremis
    @pmegremis

    Hi all,
    I face off issue with autoAcceptAlerts capability by using the following caps:

    appiumVersion: '1.15.0',
    maxInstances: 1,
    platformName: "ios",
    platformVersion: "13.0",
    deviceName: "iPhone 11",
    automationName: "XCUITest",
    autoAcceptAlerts: true,

    Instead of accepting the native pop up it dismisses it.
    Has anyone seen this weird issue?

    shubhamkarale
    @shubhamkarale
    hi , how to do mobile app testing for ionic 4 app
    i am facing some issue to launch app , plz suggest me any solution
    Bollini Kiran
    @BOLLINIKIRAN_twitter
    Hello,
    can any one explain me how to set desired capabilities for chromeOptions.setExperimentalOption("w3c", false); for Android
    Navin Seth
    @NavinSeth
    Hi, I have a react native hybrid app that uses react-native-webview . When I run driver.setValue('some text') on a text box, it works however I have some code written in an onChange handler, which does not run which I need it to. Has anyone ran into this similar issue, if so please help?
    Navin Seth
    @NavinSeth

    :point_up: December 2, 2019 3:34 PM

    Were you able to solve this?

    @ryanoasis_gitlab
    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