选中coded ui test中的一个方法,单击右键:Generate Code for Coded UI Test-àUse Coded UI Test Builder即可进入到录制窗口。
Record – Will record actions
Show Recorder Steps – Shows what was recorder and lets the user edit the steps
Add Assertion – Lets the user choose objects and to get there “Passport”, it also lets the user add validation to objects
Generate Code – Lets the user create code out of the recorder actions