If you are new to UI automation test or cross-platform automation tool, the basic idea is
- You have a test target, such as a website, or an mobile app.
- You need to write some test codes to validate the properties and state of UI elements of your target.
- Your test codes talk to Macaca, and Macaca talks to your target, execute what you have commanded in your test codes such as switching between screens, inputting text you predefined, return the UI element and properties you described in your test code, and generate a report about pass or failure. Watching the following videos will help you understand the concepts better.
If you have done some UI automation before, you probably have grasped what Macaca can do. You might want to jum right into what’s capability. We prepare an example for you to get a taste.
Check out the sample located in this repo(mobile-app-sample-nodejs).
$ git clone https://github.com/macaca-sample/sample-nodejs.git --depth=1 $ cd sample-nodejs $ npm i $ make