Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this. Unfortunately I do not think it is possible to know
if the soft keyboard is up or not. So it is not possible to implement a
behaviour based on that. Also there is an issue with getLocationOnScreen() as
one would expect it to return the correct current position.
This is a valid issue and will be accepted. I am not sure right now how it can
be solved (with the current behaviour of getLocationOnScreen() and not knowing
when the soft keyboard is up). Lets see if we can find a way to solve this
issue.
Anyone with ideas please share them here.
Original comment by renasr...@gmail.com
on 25 Jul 2012 at 11:22
Will open up again if a solution is found to this problem.
Original comment by renasr...@gmail.com
on 7 Aug 2012 at 8:53
For anyone who is also having this problem, I came up to the following
workaround.
Solo.enterText(0, "textToEnter");
final Button myOkButtonWithinTheDialog = Solo.getButton(0);
try {
runTestOnUiThread(new Runnable() {
@Override
public void run() {
myOkButtonWithinTheDialog.performClick();
}
});
} catch (Throwable throwable) {
throwable.printStackTrace();
}
Original comment by JoaRe...@gmail.com
on 4 Jan 2013 at 2:54
Thanks for the workaround. That worked for me.
Original comment by gabriel.kb
on 14 Jan 2013 at 7:14
Issue 431 has been merged into this issue.
Original comment by renasr...@gmail.com
on 10 Apr 2013 at 12:01
Original issue reported on code.google.com by
mjac...@gmail.com
on 23 Jul 2012 at 2:28