Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Veera Subba Reddy
    @subbulomada_twitter
    Hi Team.. When I try to inspect the element with the help of appium inspector it is working fine if I keep the same loactor in the code and trying to run it is showing no such element exception. can someone tell me the reason
    I tried with appium 1.15.1,1.17,1.19.1, with ios 13.0 and 13.7
    I am seeing same issue with all combinations
    yorbuachi72
    @yorbuachi72
    Happy Holidays! Currently, I ran into a roadblock currently configuring my app path. I'm working on a Windows 10 machine with an Android Device connected. My question is should I have an app path associated even though I using a physical device? thxs
    Federico Francia
    @Federic81346665_twitter
    hi @subbulomada_twitter , if you write the selector we can try to figure out the issue origin
    @yorbuachi72 if you are using webdriverio yes, the framework need to know the apk path in your filesystem to install it to your device
    yorbuachi72
    @yorbuachi72
    @vladimirtamayo Here's a code snippet in c#
    namespace SimpleA
    {
    [TestFixture]
    public class UnitTest1
    {
        private static AppiumDriver<AndroidElement> _driver;
    
    
    
        [SetUp()]
        public void Setup()
        {
    
    
            // create appium driver capabilities 
            DriverOptions caps = new AppiumOptions();
            caps.AddAdditionalCapability(MobileCapabilityType.DeviceName, "SAMSUNG-SM-G920V");
    
            // add appPackage and appActivity
            caps.AddAdditionalCapability("appPackage", "app");
            caps.AddAdditionalCapability(MobileCapabilityType.PlatformName, "Android");
            caps.AddAdditionalCapability(MobileCapabilityType.PlatformVersion, "5.1.1");
            caps.AddAdditionalCapability(AndroidMobileCapabilityType.AppActivity, "com.costar.marketingcenter.framework.features.login.activities.LoginActivity");
            caps.AddAdditionalCapability(MobileCapabilityType.AutomationName, "UiAutomator2");
    
            //start the driver
            _driver = new AndroidDriver<AndroidElement>(new Uri("http://127.0.0.1:4723/wd/hub"), caps);
            TimeSpan timeSpan = TimeSpan.FromSeconds(2000);
            _driver.Manage().Timeouts().ImplicitWait = timeSpan;
    
    
        }
    Prasanna
    @PupChe7_twitter
    Hi
    I need a help to setup appium for iOS hybrid app
    Please help me out
    Kseniya Krasotina
    @KseniaKrasotina
    You need to switch driver in code in hybrid apps. You may just google a solution
    Andreas Skielboe
    @askielboe
    Hi everyone. I'm using webdriverio with appium to test a react native app on iOS and Android. I'm having an issue where using setValue on a text field will sometimes skip certain letters. My guess is that the input is sent too quickly such that some characters are lost. I've tried fiddling with a work around using setInterval and async/await, but I can't seem to get it to send just individual letters (addValue seems to just concatenate and then use setValue under the hood, so it has the same issue). I wonder if there is a better solution?
    Andreas Skielboe
    @askielboe
    Hah. As always just after asking a question you find a solution yourself. setValue seems to work differently between iOS and Android. On iOS it appends to the input, whereas on Android it clears the input and then adds the values. Anyway this works for me on iOS: for (let c of text) { $("~input-field").setValue(c); driver.pause(100) }.
    I believe I've only seen missing characters on iOS so I think my solution will be to make a platform conditional on text field inputs, adding a loop with driver.sleep() on iOS. Thanks for listening everyone. :D
    Andreas Skielboe
    @askielboe
    Hm actually driver.pause() doesn't seem to be needed at all. The loop adds enough of a delay by itself. If anyone's curious I'm using npm i -g appium@beta and "@wdio/appium-service": "6.10.11".
    Veera Subba Reddy
    @subbulomada_twitter
    @Federic81346665_twitter After performing horizontal swipe i am getting no such element exception
    Kaique Silveira
    @kiiqsilveira
    Hi, does anyone use Appium for tvOS automation?
    jyotsananamdev
    @jyotsananamdev
    Hi team
    I am facing one issue while switching to iframe from different domain due to the same origin policy ?
    I am working on safari browser in ios devices ?
    Anitha
    @Anitha07171322_twitter
    image.png
    Hi, can anyone help me on this. i m facing WebDriver Exception while executing my appium scripts, please find the logs.
    sadhananda
    @sadhananda
    @Anitha07171322_twitter check whether device is connected properly..check using adb command
    WuYuenan
    @WuYuenan
    Hi
    hi can everyone help me, when I start session use the Appium desktop, it popup a message “Original error:Cannot verify the signature of ‘appium-uiautomator2-server-v4.15.0.apk’, what should I do for the verify issue”.
    LorryDC
    @LorryDC
    Hi @WuYuenan, due to some reason in-built terminal of appium desktop is giving this error, start appium from your terminal commandline,
    start appium desktop with a different port instead of default port, then kill the inbuilt terminal and when you invoke appium inspector you will not see the above error and finally when the app is brought up thru inspector you should see the log running on the terminal initially you invoked appium
    Sonalpandey25
    @Sonalpandey25
    apm-error.JPG
    Hi, I am having an issue while downloading appium through the command prompt. (please see above screenshot.
    Please help me, anyone.
    LorryDC
    @LorryDC
    @Sonalpandey25
    Looks like you are behind proxy,
    you need to clean up proxy settings,
    type npm config get and see what you get?
    Sonalpandey25
    @Sonalpandey25
    image.png
    Yeah I got this.
    LorryDC
    @LorryDC
    @Sonalpandey25
    delete http-proxy, https-proxy & proxy
    by giving npm config delete
    all three must be deleted
    also check what you get when you do git config --global --get
    Sonalpandey25
    @Sonalpandey25
    What you need in git config --global --get ?
    LorryDC
    @LorryDC
    @Sonalpandey25
    http.proxy
    Sonalpandey25
    @Sonalpandey25
    there is no http.proxy
    LorryDC
    @LorryDC
    @Sonalpandey25
    ok then try to install appium now
    Sonalpandey25
    @Sonalpandey25
    yeah
    its done
    Thank you so muh :)
    much :)
    LorryDC
    @LorryDC
    @Sonalpandey25
    lovely, if you need those proxies to be set, then again repeat the same exercise, this time it would be npm config set
    Sonalpandey25
    @Sonalpandey25
    ohh ok but i did not get http.proxy in git config
    image.png
    LorryDC
    @LorryDC
    @Sonalpandey25
    do you connect to proxy for your work?
    Sonalpandey25
    @Sonalpandey25
    no, I just wanted to download the appium for lerning purpose.
    nd then I got that error
    LorryDC
    @LorryDC
    ok then you dont need to worry about git config,
    enjoy and good luck with your learning
    Sonalpandey25
    @Sonalpandey25
    Thank you so much. @LorryDC
    Vladimir Musulainen
    @vmusulainen

    Can anybody to assist with hybrid app automation?

    I have autoWebview: true in options.
    My app starts successful.
    I tried to get the element by different ways, for example,
    driver.elementsByCss
    but it raises error “elementsByCss is not a function”.

    Eventually I've got the element with command
    const element = await driver.findElement('css selector', '.input-username');
    But this element does understand any element commands like click, addValue, type...

    What is wrong?