Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ptmhpp
    @ptmhpp

    Hi
    when i am running scenarios on sauce labs for iOS environment
    But the emulator is not rotating in landscape mode.

    Capabilities are as follows:
    appiumVersion: '',
    browserName: '',
    platformName: 'iOS',
    deviceOrientation: 'landscape',
    rotatable: true,
    platformVersion: '12.2',
    name: jobName,
    deviceName: 'iPad Air 2 Simulator',
    waitforTimeout: 60000,
    newCommandTimeout: 30 * 60000,
    recordVideo: true,
    recordScreenshots: true,
    fullReset: true,
    noReset: false,
    autoAcceptAlerts: true,
    count: 100,
    sharedTestFiles: true,
    rotatable: true,
    tunnelIdentifier: envConfig.username,

    yashkabra143
    @yashkabra143
    Hello
    Anyone have any idea about Katalon Mobile automation
    Because I am facing some issues with this
    Xionghu
    @XH888
    hello~~~
    yashkabra143
    @yashkabra143
    Do you know about the error "Unable to create a new remote session"
    Mugilan K
    @Mugilanmca
    Hi @AbhijitPaithane - Thanks for the help.
    Dai Pham Ngoc
    @daipn-1859
    I'm calling driver.getContexts() but sometime it throws only NATIVE_APP context
    That's why I can't switch to WEBVIEW on my hybrid app.
    Have any one can give me some ideas why there is only NATIVE_APP context thrown?
    Sven Murat
    @sven14_gitlab
    @daipn1859 we had a similar problem, in the end, we can see webview context only if the app is installed through the android studio on a real device, not with the playstore...
    shivam1747
    @shivam1747
    I am unable to access elements by id, I tried multiple approaches. But the same can be accessed by xpath. Can anybody tell where I am lacking behind?
    I am testing it on web app!!
    Dai Pham Ngoc
    @daipn-1859
    @sven14_gitlab my issue cause I'm using getContexts() before WEBVIEW is displayed
    I resolve this problem my waitUntil command of wdio v5
    Thibaut Theret
    @ThibautTheret_twitter
    Hi. I want to automatize tests on a mobile app, I can navigate on it, but I can't use IDs which are put on a ion-tabs
    Does anyone know how to do please ?
    RnanSoares
    @RnanSoares
    Hi guys, in the capabilities of my project, putting "noReset: true", when automation tries to start, a crash occurs. What may be happening?
    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íko 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 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