Coder Social home page Coder Social logo

an-appium-question's Introduction

an appium question

(See the other branch of this repo for the answer) This repo contains a small android app and a small failing test project that demonstrates a question I have: why does one test find a text field by ID and then subsequently fail to find a second text field by ID? Why does a similar test succeed in finding the second text field using name instead of ID? An earlier version of my question is at http://stackoverflow.com/questions/20379744/appium-android-webdriver-findelement-cannot-find-element-after-sendkeys

The app is in the app/ directory. It is a basic Android 4.3 app. MainActivity is exercised by the tests. The other activity is not used. You can import app as an existing Android project into the version of eclipse that's in the ADT bundle http://developer.android.com/sdk/installing/bundle.html. When you build app, it will be installed on the Android device (simulated or physical) that you select.

The tests are in the test/ directory which you can import as an existing Maven project into eclipse. You'll need to change one string in test/src/test/java/com/company/FindElementTest.java which is the path to the .apk file that's generated when you build app.

There is one test suite with two test cases. For me, only one of the test cases passes. The test case named findById fails -- at least for me. Why? Perhaps there's something wrong with my setup.

I've verified that I see the same issue with the latest three versions of appium: 0.12.3, 0.12.2, 0.12.0

I am on Mac OS X 10.8.5 and I used npm to install appium. I've reproduced my issue on a physical Android device and on a simulated device.

an-appium-question's People

Contributors

achengs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

an-appium-question's Issues

Your stackoverflow question is solved but no changes here.

Hi,I would appreciate if you could update this project with another branch called solved where your working changes are applied.

If you could make an amendment in your README to point this out also would be truly nice.

Best Regards

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.