testing - Android JUNIT Get Keyboard View -


I'm trying to test a keyboard app through JUNनेट.

  • The memo app
  • The JUnit app for the memo app
  • P> How do I obtain keyboard references or views from the JUIIT application? FindViewById () does not work from JUnit scope, and it seems that InputMethodManager does not support such functionality.

    No insights are welcome, thanks! (Sorry for noob Q!)

    Assuming you check your keyboard's user interface I would like to say the following: Normally the Unit Testing user interface is unusual because you actually have to automatically run the application to click on a button

    There is another tool like Selenium for test websites (Graphical) user interface testing Unfortunately no GUI Testing Framework me for Android, but I'm sure there is one.

    In general, try entering a small business logic code in the code related to the user interface, so that you can do unit testing business logic separately, in a nutshell, test a graphical user interface with a unit test setting. Doing such a juneet is not a good idea.

  • Comments

    Popular posts from this blog

    mysql - BLOB/TEXT column 'value' used in key specification without a key length -

    c# - Using Vici cool Storage with monodroid -

    python - referencing a variable in another function? -