使用 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");
}
}