Android SetValue Workaround

Mobile Testing, Android App Testing.
Neo772
Posts: 2
Joined: Mon Nov 19, 2018 4:12 pm

Android SetValue Workaround

Post by Neo772 » Mon Nov 19, 2018 4:19 pm

Hello,

I have the following problem with the testing our ionic android app:
As I start to record an action set to log into our app, it doesnt work because the setValue of the content wont stay.
I can see the values being entered on the login page. But the app is generating the validation error that the data is not entered as if no entry has occurred. The sign in touch is not doing anything on the app either.

It is probably the same problem as described here, but I have not found yet an solution:
setvalue-on-android-entering-the-value- ... 12582.html

I am new to ranorex and if someone could help me with a step for step guide how to workaround this problem I would be very happy.

Thank you very much for any help!!
Attachments
SetValueDoenstWork.PNG
SetValueDoenstWork.PNG (24.13 KiB) Viewed 41 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4041
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Android SetValue Workaround

Post by odklizec » Tue Nov 20, 2018 8:24 am

Hi,

Have you tried all solutions mentioned in the post you linked? Try mainly this one:
setvalue-on-android-entering-the-value- ... tml#p50328
If the trick with IME_ACTION_DONE is not working for you, you will most probably have to use ADB commands.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Neo772
Posts: 2
Joined: Mon Nov 19, 2018 4:12 pm

Re: Android SetValue Workaround

Post by Neo772 » Tue Nov 20, 2018 9:53 am

The Workaround with IME_ACTION_DONE was not working.

What are ADB (android debug bridge) Commands and how would a solution look like?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4041
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Android SetValue Workaround

Post by odklizec » Tue Nov 20, 2018 10:03 am

Hi,

Check these posts about sending ADB command from Ranorex:
send-adb-commands-via-ranorex-t10596.html#p42515
setvalue-on-android-entering-the-value- ... tml#p50413
I'm afraid, I don't know exact adb.exe arguments, so you will have to do some research about sending keys to app via adb.

BTW, try also this workaround...
set-value-press-keys-on-ipad-using-rano ... tml#p42933
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration