Giter Club home page Giter Club logo

Comments (3)

licanhua avatar licanhua commented on June 19, 2024

Are you using WinAppDriver, and what's your app type: UWP, WPF, Win32? Is the element an button or text?
I think there are a lot of case will result into this error:

  1. Some element is not clickable. for example, textblock.
  2. the element is disabled or it doesn't accept focus. You can easily verify it manually
  3. the element is hidden or below an clickable element.
  4. some element doesn't accept input, but its parent does
  5. the element is not fully loaded yet when you click it
  6. element is out of 'screen'. for example, you have two monitors.

Below steps may help you to narrow down the problem:

  1. If it's not 100% failure, it may related to timing, and you may fix it by wait for some time
  2. try to reproduce it by manual procedure.
    3, try the press/touch other than click.
    4, try other action like settext, sendkeys

from selenium-appium.

venkatrao-rgare avatar venkatrao-rgare commented on June 19, 2024

Thanks for the steps to troubleshoot and apologies for the late reply.

What worked was this,

this.driver.findElement(By2.nativeAccessibilityId("xxx")).findElement(By2.nativeName("yyy"));

This didn't work

this.driver.findElement(By2.nativeName("yyy"));

Leaving the answer here just in case someone need it.

from selenium-appium.

licanhua avatar licanhua commented on June 19, 2024

I think it's winappdriver bug. I close this since it works for you

from selenium-appium.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.