Search code examples
javaautomationautomated-testsappiumui-automation

When sendKeys() is done by automated test the OK button still greyed out even if values are entred, is there a solution for that?


I'm using testng framework, java and appium in order to automate tests for a site in a safari browser in Ipad simulator.

when sendKeys() is done, the "OK" button still greyed out even if values are entred, is there a solution for that?

Here an example when i go sendKeys("GET"); button ok still greyed out, but when i tap it manual this problem doesn't exist.

enter image description here


Solution

  • The problem was that i was sending an existing name so that it will be greyed out not accepting double.