I'm testing on physical devices. I need to write a test that makes a purchase of a vip account in the application, using the google play frame. But the frame itself is not displayed.

For writing tests using calabash-android, ruby

calabash-android console apk

start_test_server_in_background

query("*") = Google Play frame is not displayed, it simply does not exist

monitor - by this command you can see the id of the elements, the frame is displayed there and the buy button has a unique id

Perhaps someone has already solved a similar problem. How to describe a test purchase? I do not consider the option of clicking on the coordinates, because for each device, the buy button will have other coordinates

  • Is it possible to click on the software program? - Flippy
  • @ SergeyGrushin I need to do it programmatically, as I said, I am writing auto-tests. After running the tests, I’m in the Ę»irb `console, maybe I can use the` adb `command that can tap the` buy` button. When asked how to do this? I have not found the answer yet and am in search. - grinpic

0