Reputation: 229
I understand that I can query elements and invoke user commands on them, such as tap or swipe. Can I call actual code though? For example if I have a foo
method on the current view controller or a static Bar
method in a utility class, can I call them during my test? Something like:
If the answer is yes, can I do it in Appium as well?
Upvotes: 0
Views: 178
Reputation: 627
You can not execute any code from UI Automation, but you can perform UI events and using them you can execute code.
Upvotes: 1