Search code examples
cucumbercalabashcalabash-ios

How can I click on a pop-up confirmation button with calabash-ios?


I'm new to Calabash-iOS automated testing, but need to get automation in place quickly. The app I'm working on has a pop-up cancel/confirm message when logging out. I've tried every way I can find to click the confirm button in the pop-up but I can't seem to get it to work.

If at all possible, try to give me an answer using the Calabash pre-defined steps as I'm not at the point of creating custom steps yet.

enter image description here


Solution

  • Apparently, Then I touch "Confirm" was all that was needed. Which is weird cause I could have sworn I tried that. For some reason it was not being interpreted as a button.