# 3.19 – Macro recording

Macro recording can be used on software testing, automated jobs etc. Please add macro.js into your web page and then you can record macro:

- var recorder = new MacroRecorder(rdp);
- recorder.start();//start recording
- recorder.stop();//stop recording
- recorder.play(); //playback
- recorder.stopPlay();//stop playing
- recorder.getScript();//get playback script

Please check the source code of macro.js for more details.