Install the node8.x version and install the following two commands to install Uirecorder node:https://nodejs.org/en/download/npm install-g cnpm--registry=https:// registry.npm.taobao.org cnpm Install uirecorder mocha–g uirecorder Test command Uirecorder--version the Uirecorder logo is installed successfully. (Note: Refer to the bloghttp://www.imdsx.cn/index.php/2017/11/10/uirecorder/ installation is also possible)
Open cmd into the folder directory you created, I created: E:\Uirecorder-1
Enter Uirecorder init all the way down the space
Start recording
After initializing our configuration information, we can start recording our case with Uirecorder start, which is very simple and convenient.
When the boot is complete, you can see that a Chrome browser has been launched, just enter the test address to start recording the case. Enter the URL and click Start recording
Web Automation Test-d4-One of the Learning notes (NPX)