|
一个C/S的客户端,用的是.net协议。后台是动态session。脚本为登录操作
String filename_1;
filename_1 = "E:\\SC\\05编码\\Release\\客户端\\GOS.Client.exe.config";
lr.log("Event 1: LrReplayUtils.ConfigureRemoting(filename_1);");
LrReplayUtils.ConfigureRemoting(filename_1);
lr.log("Event 2: ((ILogin)(Activator.GetObject(typeof(GOS.Modal.Login.Interface.ILogi" +
"n), \"tcp://127.0.0.1:8541/LoginService\")));");
ILogin_1 = ((ILogin)(Activator.GetObject(typeof(GOS.Modal.Login.Interface.ILogin), "tcp://127.0.0.1:8541/LoginService")));
inof_1 = ((LoginInfo)(LrReplayUtils.GetSerializedObject("Serialization_1.bin")));
lr.log("Event 3: ILogin_1.OnLogin(inof_1);");
LoginUserInfo_1 = ILogin_1.OnLogin(inof_1);
Serialization_1.bin文件中有动态session的值,这个写在文件中,那怎么写关联函数呢?? 望高手解决,在线等!! |
|