Where communities thrive


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

    Hi, I have a question, anybody can help me figure it out?

    APPIUM is a HTTP server with WebDriver protocol; I supports it should route multiple testcases to the different devices. However I found it couldn't

    I started two android emulators and wrote two testcases, then started one appium server, try to ran two testcases at the same time;
    It supposed that appium server should route two testcases to two devices respectively, however it routed two testcases to the same device one after the another;

    Why did that happens? does the one appium running instance only support one device?

    sourabhahg
    @sourabhahg
    hi anyone got this issue, Error: Failed to create session.
    socket hang up
    Love soni
    @LoveSoni
    Screenshot 2021-05-16 at 11.05.24 PM.png
    Screenshot 2021-05-16 at 11.05.24 PM.png
    Hi can someone please help me in this
    My appium server is running and i can access from my code
    but with appium desktop it is throwing this error
    Steven Jones
    @StevenJ65804775_twitter
    Hey guys
    AbdulRauf002
    @AbdulRauf002
    Hi All,
    Vlad Kostyukevich
    @VladislavKostyukevich
    Hey, does anyone have issues with switching to webview on ios 14.5?
    Huzaifa Iftikhar
    @huzaifaiftikhar
    Some issues with remote-debugger on iOS 14.5 that causes the app to crash when we switch to webview
    appium/appium#15325
    Vlad Kostyukevich
    @VladislavKostyukevich
    I can't even see the webview context.. but everything is ok on 14.4
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    @VladislavKostyukevich: is your mobile app React Native?
    Vlad Kostyukevich
    @VladislavKostyukevich
    @federicoitaly:matrix.org No, it is cordova hybrid app with simple web page inside
    YeFei572
    @YeFei572

    what a fuck

    RachaelKlein92
    @RachaelKlein92
    Does Appium support desktop browser support and mobile?
    Huzaifa Iftikhar
    @huzaifaiftikhar
    For desktop browser you’ll have to use selenium and for mobile browsers appium works
    RachaelKlein92
    @RachaelKlein92
    @huzaifaiftikhar thanks!
    hazem-hosny
    @hazem-hosny
    Beighboorhood singer Here
    santhosh pl
    @pl_santhosh_twitter

    hello,
    I am using a xiomi version android phone.
    Every time I run a test case via appium, it is asking for the uiautomator2 to be installed again.

    Is there a way to bypass this?

    Federico Francia
    @federicoitaly:matrix.org
    [m]
    hi everybody, does anyone use "mobile:swipe" in XCUI iOS?
    I am trying to get the coordinate differences of the viewport between before and after the swipe
    i am in NATIVE context
    Jonathan Souza (Jojo)
    @jonathansouza-hotmart
    Unable to create a new remote session. Please check the server log for more details. Original error: Could not start Mobile Browser
     Reason:
    An unknown server-side error occurred while processing the command. Original error: Cannot start the 'app.com.devrelease' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'android-sdk/platform-tools/adb -P 5037 -s 66a402b3 shell am start -W -n app.com.devrelease/com.app.activities.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability (WARNING: The server did not provide any stacktrace information)

    Hi all, i'm running my appium throw browserstack and i get the following error. any one saw this before and can help me?

    any one?

    Hey, you solved this problem?

    I am facing this error here running ios app automate on Browserstack.

    Federico Francia
    @federicoitaly:matrix.org
    [m]
    @jonathansouza-hotmart: try to contact the support team of Browserstack
    Jonathan Souza (Jojo)
    @jonathansouza-hotmart
    Thank you @federicoitaly:matrix.org I solved with this suggestion.
    My ipa generated was not compatible with browserstack.
    They sent to me the orientations.
    FelixPWAC
    @FelixPWAC
    Can anyone share how to scroll on Appium v1.21.0
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    hi @FelixPWAC , I use "mobile:swipeGesture" for android and "mobile:swipe" for iOS
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    there is a way to " element.touchAction([
    { action: "tap" },
    "release",
    ]);" in the center of the element?
    sometimes in iOS it taps outside of the element
    FelixPWAC
    @FelixPWAC
    Hi @federicoitaly:matrix.org can you share a example
    FelixPWAC
    @FelixPWAC
    MobileElement element = (MobileElement) driver.findElement(MobileBy.AndroidUIAutomator(
    "new UiScrollable(new UiSelector().scrollable(true))" +
    ".scrollIntoView(new UiSelector().text(\"exact_text\"))"));
    appium does not accept this
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    ok, Felix I can share you an example. I was going crazy to make it work, because I have to test a react native mobile app
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    const swipeGesture = (dir, scrollViewElement) => {
    if (browser.isAndroid) {
    // Android UiAutomator2
    driver.execute("mobile:swipeGesture", {
    direction: dir,
    elementId: scrollViewElement.elementId,
    });
    } else {
    // iOS XCUITest
    driver.execute("mobile:swipe", {
    direction: dir,
    element: scrollViewElement.elementId,
    });
    }
    };
    in android uia2 you can use the gesture "mobile:swipeGesture", while in iOS XCUI Test you can use "mobile:swipe"
    this example is webdriverIO, JS
    FelixPWAC
    @FelixPWAC
    Yeah react native can be really tough to automate how did you manage to do that
    besides I have no idea how the logic for the above code works
    I was scrolling happily before I updated appium
    with the below code
    public void scrollIntoText(String input) {
        driver.findElement(MobileBy.AndroidUIAutomator("new UiScrollable(new UiSelector.scrollable(true))"+ ".scrollIntoView(new UiSelector.text(\""+input+"\"))"));}
    FelixPWAC
    @FelixPWAC
    @federicoitaly:matrix.org can you modify the below code to make scroll work as i Cant but it looks promising
    JavascriptExecutor js = (JavascriptExecutor) driver;
    HashMap<String, String> scrollObject = new HashMap<String, String>();
    scrollObject.put("direction", "down");
    js.executeScript("mobile: scroll", scrollObject);
    Federico Francia
    @federicoitaly:matrix.org
    [m]
    HI @FelixPWAC , yes I know UiScrollable, I've used it as it is very quick, but eventually I decided to use "mobile:swipeGesture", although it's slower it's more accurate and in this way I have similar code for iOS and android
    Noir
    @Noirscode
    hi
    im new at here i have an problem and i wanna find an solution for this problem https://share.getcloudapp.com/12u4BrKj
    sourabhahg
    @sourabhahg
    hi guys im trying to automate webapp on safari , but not able to open safari through good, any suggestions?
    Automation125
    @Automation125
    hi guys, I am trying to automate hydrid app on android,after entering webview when I am trying to inspect webpages from chrome inspector it is showing 5 webviews but when call getContext() in appium it is showing only two,
    Dalilaroussi
    @Dalilaroussi
    Hi , does appium server can be opened remotely fom another PC , in case yes , can anyone provide me an example for that ? , Nb:on the same PC I can do it by using AppiumlocalService but when I try it remotely is not working
    cnerkar1859
    @cnerkar1859
    Hi Guys , I am facing sudden slwodown issue on Android scripts (using wdio with appium) it wont click on element for 20seconds which was working fine earlier and we have found out that its beacaue of GradienText being used in app code, when i repalced it with RegalarText script started working fine. I am using uiautomator2 and resource-id locator strategy , can somebody suggest any solution ?
    reddypramodhadalam
    @reddypramodhadalam
    Hi Guys,