Reputation: 51
Since Appium's inspector is not conducive recording scripts on Windows, I am using AppiumForWindows coupled with uiautomatorviewer from SDK time to identify app objects and actions to send. I know that we can easily use recording option on Mac in order to record the flow and run it on Mac using appium.
However, I wanted to know if i can switch to Mac just for recording my android app script on the Mac machine and go then to my favourite windows machine for running them using appium? I cannot test now because I have not Mac yet. I told myself that it is possible because of the use of java language (multi-platform) and the fact that Appium provides a standard API both Android and iOS for automation but at the same time, I have doubts because of that answer, I have found on line at https://discuss.appium.io/t/can-we-record-the-script-on-mac-machine-using-appium-tool-and-re-run-the-recorded-script-on-android-or-window-phone-using-appium/5938 I want to decide myself finally. Please i want to know what you think about.
Upvotes: 0
Views: 286
Reputation: 2082
Yes and No, Appium api's are cross platform compatible, however the id's and paths which you use to locate the object under test in both platforms are different, which could cause the script to not work.
I have not used the recorder as such, however if both apps are exactly similar, one could create same test case, with maximum reusable in locating an object by accesibility tag (provided both are kept the same).
Upvotes: 0