Android Login to app - problem

Mobile Testing, Android App Testing.
MaJKeL
Posts: 1
Joined: Sat Aug 12, 2017 3:45 pm

Android Login to app - problem

Post by MaJKeL » Sat Aug 12, 2017 4:08 pm

Hi,

I'm new Ranorex's user and I'm trying to check this tool by go through simple examples like type login and password to my app. It is simple task for Renorex but in my case I have got some problem and I'm facing in wall

I don't know where is problem, always if i type login and pass using it from parameter or native and press on login button I got reply from app incorrect user or password although I put correct data, manually using it everything is ok but I have to remove put by Renorex values.

I thought the problem is arround to fast past values by Renorex and I did not see Key Sequeces action

In my demo example I have used action: Set Value and Name: Value for put data to input fields
On my screen i see how app put correct values

Any idea?

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

Re: Android Login to app - problem

Post by odklizec » Mon Aug 14, 2017 11:50 am

Hi,

I think that your problem is caused by the fact that SetValue action most probably does not trigger "OnChange" or similar event. This is exactly why it's better to use KeySequence (Mobile Key Press in case of mobile recordings) action instead. The problem is, that Mobile Key Press action supports only certain system keys and not full keyboard ;) I believe that suggestion from this post should help:
https://www.ranorex.com/forum/set-value ... 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