Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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,
    How can we verify the options available on screen when a video is playing in appium?
    Can any one please suggest me how to achieve this?
    Worik Stanton
    @worikgh
    Hello. Is anybody here that can help with my Appium problems? I cannot get past my app
    's login screen.
    Worik Stanton
    @worikgh
    phuocletrinh
    @phuocletrinh
    Hi guys sometimes i got this problem, can someone has solution to fix it? thanks Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
    2 replies
    nileshpethe
    @nileshpethe
    In React Native code, Appium doesn't find the element in iOS modal window
    RachaelKlein92
    @RachaelKlein92

    Hi,

    I am struggling to connect my localhost site to test on either an android device/ android emulator...
    Using the Piral framework..

    Any help would be appreciated.
    Let me know if you need to know anything from me.

    cnerkar1859
    @cnerkar1859
    Hi Guys , does anybody know how to parametrize App path in appium which gets build in /user/{username}/Library/Developer/Xcode/DerivedData/{MobileApp-sdfjhslkfllkjklfd} this is unique id on individual machine when the ios app is build}/Builds/Product/Debug-iphonesimulator/MobileApp.app
    phuocletrinh
    @phuocletrinh
    Hi Guys, I'm running my test script on emulator, and sometime i got the error message below:
    remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.
    Can you help me to solve this?
    sadhananda
    @sadhananda
    @phuocletrinh did you check the logcat output?
    Chienjen
    @Chienjen
    Screenshot_1624017164.png

    Hi @all I'm a beginner to Appium, I am facing this issue while opening my Testing App, I using Appium 1.21.0
    'com.google.android.permissioncontroller' and fully qualified activity name : 'com.android.permissioncontroller.permission.ui.ReviewPermissionsActivity'

    Code:

    1. TouchAction tc = new TouchAction(driver);
       tc.tap(TapOptions.tapOptions().withElement(ElementOption.element(uidemo.btn_permission_continue)));
    1. @FindBy(id="com.android.permissioncontroller:id/continue_button")
      public AndroidElement btn_permission_continue;
    1 reply
    @Chienjen @worikgh @nileshpethe @Automation125
    Manish Singh
    @findmanish
    appium/appium#10642 this is still replicating on the latest version 1.21.0 but this was closed long back ago and no option to re-open
    1533510442qq
    @1533510442qq
    image.png
    How to solve the problem of error in identifying wechat applet?
    SukeshBolar-tech
    @SukeshBolar-tech
    guys am trying to automate flutter android app, please help me out with launch code snippet.
    1 reply
    Katleho Motumi
    @kmotumi0721247345
    Hello, guys thank you very much for this platform. I'm a newbie on Android development. So I'm busy building an app scheduled app to be precise. But I'm confused as to which UI to use is it table layout if is indeed table layout how can I make the table have multiple activities like the first week that one is simple but how to add week 2 and week 3 in a single activity. Like to be able to swipe from week 1 to week 2 and week 3. All in a single page? Thank you.
    Chienjen
    @Chienjen
    Hi @all I get this error "java.lang.NoSuchMethodException: jdk.proxy2.$Proxy7.proxyClassLookup()" while running appium with pom framework. Anyone know how to fix this ?
    SAGAR SALUNKE
    @reply2sagar
    @Chienjen I can help you. Maven settings needs to be changed
    3 replies
    RachaelKlein92
    @RachaelKlein92

    Hi everyone,

    I am trying to use Appium to automate iOS simulator/emulator through xcode.

    Does anyone have experience with this or would be able to help?

    Thanks!

    1533510442qq
    @1533510442qq
    How to solve the problem of error in identifying wechat applet?
    ‎谢谢!‎
    vkodavooru
    @vkodavooru
    Hi, Can someone help me with the code to automate, changing the font size of an android app using appium?
    1533510442qq
    @1533510442qq
    How to solve the problem of error 500 when appium comes with its own identification tool to obtain wechat applet elements