标题: RnP与Coded UI自动化测试 [打印本页] 作者: 测试积点老人 时间: 2019-1-7 16:09 标题: RnP与Coded UI自动化测试 如果有机会看一看Visual Studio 2010 Team System的《新功能介绍》,你会发现它对于测试部分的改进一共包含了七大项内容,如下图所示。在我的前一篇CSDN个人博客中介绍了什么是MTLM。本篇将介绍一下《Record manual test steps and replay them during a future test run》和《Create automated UI tests》,前者实际上就是RnP(Record and Playback,录制和播放),后者则引入了一个Coded UI Test(也简称为CUIT)工程模版,用来创建直接对界面进行操作测试用例。
注意:在录制和保存录制的结果之后,如果对测试步骤进行了修改,如添加或删除步骤、或者参数,则需要从新录制。当你再次Run测试用例时,会提示: The action recording cannot be loaded for the test "My first test case".
Changes have been made to the test steps or parameters for this test after the action recordings were created. To include the changes, you must create the action recording again.