public void RunFile() { string file = Cache.runPath + "script\\test.vbs"; string fun = "Main"; object param1 = 1; object param2 = 2; object param3 = 3; var ret = eng.RunFile(file, fun, param1, param2, param3); Console.WriteLine(eng.GetEx()); Assert.IsTrue(ret != null); Console.WriteLine(ret.ToString()); ret = eng.RunFile(file, fun, param1, param2, param3); Console.WriteLine(eng.GetEx()); Assert.IsTrue(ret != null); Console.WriteLine(ret.ToString()); }