Forum Discussion

SimpleMe's avatar
SimpleMe
Occasional Contributor
8 years ago

How do I write a script for keyboard dismiss in iOS?

Hi. I'm very new to automation testing. I found useful articles on how to dismiss the keyboard via script, but I'm unsure of how to employ the script. This article linked below mentions the YourText...
  • SimpleMe's avatar
    8 years ago

    Well, I figured it out. I was adding the command in too far in the line.

     

    A correct sample looks like:

     

    Aliases.Device.processMyiOSapp.window0.textfield_Password.resignFirstResponder()