Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Huzaifa Iftikhar
    @huzaifaiftikhar
    Try setting the automationName capability to UiAutomator2
    Akshayk22
    @Akshayk22
    Still getting the same error
    Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The application at 'C:\Users\akamble02\eclipse-workspace\Test\src\com.psi.residentportal_2021-06-25.apk' does not exist or is not accessible
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48'
    below is the script

    import java.io.File;
    import java.net.MalformedURLException;
    import java.net.URL;

    import org.openqa.selenium.remote.DesiredCapabilities;

    import io.appium.java_client.android.AndroidDriver;
    import io.appium.java_client.android.AndroidElement;
    import io.appium.java_client.remote.MobileCapabilityType;

    public class Testt {

    public static void main(String[] args) throws MalformedURLException {
        // TODO Auto-generated method stub
        File f=new File("src");
        File fs=new File(f,"com.psi.residentportal_2021-06-25.apk");
    
        DesiredCapabilities cap = new DesiredCapabilities();
        cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Pixel4");
        cap.setCapability(MobileCapabilityType.AUTOMATION_NAME, "UiAutomator2");
        cap.setCapability(MobileCapabilityType.APP, fs.getAbsolutePath());
        AndroidDriver<AndroidElement> driver= new AndroidDriver<> (new URL("http://127.0.0.1:4723/wd/hub"),cap);
    }

    }

    Huzaifa Iftikhar
    @huzaifaiftikhar

    If you see the error message the root cause is different this time. You’re getting the following error now:

    The application at 'C:\Users\akamble02\eclipse-workspace\Test\src\com.psi.residentportal_2021-06-25.apk' does not exist or is not accessible

    Can you check if the file exists at this path?

    Akshayk22
    @Akshayk22
    Thank You for the help , i have added file to the location
    mow getting below inline error
    Jul 28, 2021 4:33:27 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
    INFO: Detected dialect: W3C
    can u help me with this
    Paulo Oliveira
    @poliveira89
    hello, anyone here tried to connect with apple-mac2-driver already?
    i’m struggling to find good examples and documentation about it.
    Mikkel Isaksen Jensen
    @LegoMikkel

    Does anyone have experience with "appium-mac2-driver" and WebdriverIO.?
    I am working to automate an app on mac, however I can not seem to get mouse and keyboard gestures to work.
    I am trying to do
    browser.performActions([
    { action: 'pointerMove', "duration": 0, "x": 100, "y": 100}]);
    browser.releaseActions()"

    However I get the error
    "TypeError: browser.performActions is not a function"

    1 reply
    nur123
    @nur123
    Hi everyone do you know link tutorial robotframework appium, thank you all
    girija sankar
    @girijamohanty:matrix.org
    [m]
    Issue: Failed to create WDA session (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). Retrying... - Any one have solution please provide me . Thank you
    When we are trying to connect Appium to webdriver agent its not connecting , Please help me
    Paulo Figueira
    @PauloFigueira
    Hello all, is it possible to use BySelector (https://developer.android.com/reference/androidx/test/uiautomator/BySelector) when finding elements with uiautomator?
    Through UiSelector I am not able to element and after a discussion with the app developer he was only able to find this element with the BySelector
    Federico Francia
    @Federic81346665_twitter
    Hi, does anyone experiencing issue with appium xcui and ios react native app, in some complex page not all elements are retrieved by Appium even if you set the snapshotMaxDepth setting to an higher value than default one?
    AResourcepool
    @aresourcepoolnoida
    Hi everyone do you know Why Is A Product Roadmap Important For Mobile App Development?
    Hamza Zubair
    @iamhamzazubair_twitter
    Hi everone! Hope you are well.
    I am a newbie on appium, I have installed appium on my macbook, when I used to run the appium-doctor --android, it will show that JAVA home and android home variable is not set. But I have added it to my .bash_profile. Any guidance?
    Maria Kravets
    @mnkravets
    Using Appium getActiveElement commands returns an error. Any thoughts on this? Thank you
    webdriver: [GET] http://127.0.0.1:4723/wd/hub/session/7d740224-5f38-49d1-8ce5-d07b78955559/element/active
    [0-0] 2021-08-18T15:08:52.288Z WARN webdriver: Request failed with status 404 due to The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource
    Thuytien
    @Thuytien
    Hi everyone, if you have experiences with AWS device farm, please help. When I run by mvn command, it always returns create remote session timeout even it connect server success? Error: "org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: connect timed out"
    Maria Kravets
    @mnkravets
    Hi Everyone. Does anyone know how to find exact path to the file uploaded on Android Emulator? I'm trying to automate test to attach file, for that need path to the file. I'm new to Appium. Please help
    Ronaldo
    @ronaldo-elgrocer
    how to run appium in github actions
    Adam Bethlehem
    @adambeth

    Can anyone assist me with this error when running appium with testng and maven
    java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy10.proxyClassLookup()

    Ive tried literally every version of java with no luck,
    at io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder.prepareAnnotationMethods(AppiumByBuilder.java:85)

    it is failing when it tries to initialize a PageObject
    any help would be greatly appreciated

    It works fine when running via intellij testng runner but via the terminal: mvn test
    jyoti manghnani
    @jyotimanghnani_gitlab
    Hi..
    I want to automate selecting toggle button using appium but the xpaths used by me r giving "nosuchelementexception.
    I am using this xapth as text is not given in the tree. "//*[contains(@resource-id,'id/toggle')]"
    Timothy Boland
    @TimB0
    so to make sure im not crazy....for XCUITests the only way to reset the app in between tests is to uninstall and reinstall?
    Ninja2SuS
    @Ninja2SuS
    i need help making movie streaming a[[
    app
    RifkiNurgraha
    @RifkiNurgraha

    Hi Anyone can help, im using ,webdriverio": "^7.11.1", @wdio/appium-service": "^7.11.1", and when run always got ->

    'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details

    SaMkiT Sharma
    @samkitsharma_twitter

    Hey guys,

    I came across this hack challenge for enhancing Android libraries. I thought of sharing it with you all. It has a cash prize of up to 10 lakh rupees.

    I submitted my idea. You guys can also participate.

    https://www.incubateind.com/hack/libathon

    Vlad Danilov
    @danilovxp

    Hi all,
    how can I enter text with 0.5-1 second delay? setValue() doesn't work for me, because dropDown doesn't appear after setValue().

    The method below returns the wrong characters.

    text = 'karm'

    WebDriverIO, Appium, iOS driver = XCUITest, Adndroid driver = UIAutomator2

       public static type(element, text, isErase = true, maxDelay = 500) {
        element.click()
        driver.pause(500)
        if (isErase) {
          element.setValue('')
        }
    
        const charList = text.split('')
    
        for (let i = 0; i  <charList.length; i++) {
          driver.pressKeyCode(charList[i].charCodeAt())
          driver.pause(Math.floor(Math.random() * maxDelay))
        }
      }

    In output I got something like yv...'

    владимир иванович архипов
    @vova557
    не кто мне не может помочь с администрацией бизнеса в интернете ?ъ
    Optimerz
    @Optimerz
    hello anybody here?
    I have the problem with this error can someone help me please I'm really need the help me please : io.appium.uiautomator2.common.exceptions.InvalidArgumentException: 'capabilities' are mandatory for session creation
    1 reply
    cnerkar1859
    @cnerkar1859
    Hi Guys, can we scroll in ios till element is found without using direction , as we need to specify direction as up or down, I want to scroll by element doesn't matter where it is on the screen for ios.
    Kaique Silveira
    @kiiqsilveira
    Hi, can anybody tell me if appium currently supports the iOS 15 (xcode 13)?
    1 reply
    sadhananda
    @sadhananda
    Hi..is it possible to automate ios using appium on ubuntu system?
    sumitmalviya784
    @sumitmalviya784
    Hi All, I am trying to launch an iOS simulator with the latest iOS version i.e. iOS 15 with Appium 1.21.0, and getting "ECONNREFUSED 127.0.0.1:8100" It was working fine with iOS 14.
    Ezreal
    @lucky06688
    Hi All, does Appium support automating hybrid apps on Windows and Mac? I noticed that getContextHandles and context are not available on Mac and Windows(https://appium.io/docs/en/writing-running-appium/web/hybrid/). Does this mean that Appium cannot be used for hybrid apps on the desktop? Are there other ways to workaround?
    thanhhuynh672
    @thanhhuynh672
    0xD4d826239532542A6D5E6f7B4d1C3415b4Bf4760
    deepkawal
    @deepkawal
    Anyone doing C# mobile native test automation using specflow/Gherkin or any other recommended way of doing BDD? Please share your experiences? I am trying to implement things from scratch so any pointers/experiences would be helpful
    Sayak Kundu
    @sayak119

    Hi. While testing for basic auth on an iOS device, found that with Appium 1.21.0, the basic auth feature is not working. I am doing the following -

    1. Go to https://guest:guest@jigsaw.w3.org/HTTP/Basic/
    2. Print title

    For other Appium versions (example - 1.17.0), I get the page title. But for Appium 1.21.0, it comes out as empty. Do tell me if logs are needed for the same.

    Łukasz Przybylski
    @lukasz.przybylki:matrix.org
    [m]
    Hi Guys!! Is it possible to find element using Appium with Android JetPack Compose ? I mean by resource ID, not contentDescription. Thank you!
    Temporal Wolf
    @TemporalWolf_twitter
    Running wdio against appium and every time we try to switch context appium fails to start chromedriver with the error
    InvalidArgumentError: invalid argument: cannot parse capability: chromeOptions from invalid argument: unrecognized chrome option: androidDeviceSerial
    I suspect this might be a backward compatibility issue, as we're using an embedded system with chrome 74 (and thus chromedriver 74) but we've been unable to resolve this. Any ideas?
    The issue is that androidDeviceSerial is an option Appium adds automatically to the chromeOptions. I haven't found a way to disable this.