使用True Client协议录制时,会记录登录页面,之后浏览器不会在主页中显示任何内容。
Script_View_Action()
{
truclient_step("1", "Navigate to 'http://server:port/xyz'", "snapshot=Action_1.inf");
truclient_step("2", "Activate tab #1", "snapshot=Action_2.inf");
truclient_step("3", "form (1)", "snapshot=Action_3.inf");
{
truclient_step("3.1", "Type user1 in User ID textbox", "snapshot=Action_3.1.inf");
truclient_step("3.2", "Type ********* in Password passwordbox", "snapshot=Action_3.2.inf");
truclient_step("3.3", "Press Enter key on Password passwordbox", "snapshot=Action_3.3.inf");
}
}