2

I am using system("adb shell input keyevent KEYCODE_HOME") to simulate the home button in calabash-android, my test fails for my next step.As per my app functionality when the relaunch the app from the background it displays with the pin screen,which i am not able to get it with the KEYCODE_HOME. However it works with the KEYCODE_BACK.

Please help me out for the simulation for the home button.

1 Answers1

0

You can try this which was provided from a previous user of the same question.

Community
  • 1
  • 1
king_wayne
  • 222
  • 1
  • 9