When you write a script with Appium, there is no βplayβ function. The inspector is used only for searching and recording interactions with application elements. Here's a link to android walkthrough: Android built-in automation
You need to select the language and export the file (see the lower part of the inspector during the recording mode). (Pic here)
You can run the saved file from the IDE or command line.
source share