79360382

Date: 2025-01-16 04:44:06
Score: 1
Natty:
Report link

Ok, after some mucking about, I found the Execute Script keyword. This works with the mobile:pressButton Appium mobile command which simulates the pressing of physical buttons. Combining the two did the trick!

Here's the resulting command:

&{button_name}    create dictionary    name=home
Execute Script    mobile:pressButton    &{button_name}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Looi