Clearing a text field

Mobile Testing, Android App Testing.
Subhadip
Posts: 9
Joined: Fri Feb 01, 2019 8:57 am

Clearing a text field

Post by Subhadip » Fri Jul 12, 2019 5:26 am

Hi,

I am doing automation for a ios mobile app.
I need to clear text fields.

What are the options to achieve this?

Thank you,
Subhadip

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

Re: Clearing a text field

Post by odklizec » Fri Jul 12, 2019 9:43 am

Hi,

Have you tried to use SetValue action with empty string? I'm successfully using this approach on Android, but I guess it should work on iOS too?
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

Subhadip
Posts: 9
Joined: Fri Feb 01, 2019 8:57 am

Re: Clearing a text field

Post by Subhadip » Fri Jul 12, 2019 12:46 pm

IT Worked.

Thank you!