GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Certbot/pkgs/win32com/test/ |
Upload File : |
function print(msg) { WScript.Echo(msg) ; } function check(condition, msg) { if (!condition) { print("***** testPyScriptlet.js failed *****"); print(msg); } } var thisScriptEngine = ScriptEngine() ; var majorVersion = ScriptEngineMajorVersion() ; var minorVersion = ScriptEngineMinorVersion() ; var buildVersion = ScriptEngineBuildVersion() ; WScript.Echo(thisScriptEngine + " Version " + majorVersion + "." + minorVersion + " Build " + buildVersion) ; var scriptlet = new ActiveXObject("TestPys.Scriptlet") ; check(scriptlet.PyProp1=="PyScript Property1", "PyProp1 wasn't correct initial value"); scriptlet.PyProp1 = "New Value"; check(scriptlet.PyProp1=="New Value", "PyProp1 wasn't correct new value"); check(scriptlet.PyProp2=="PyScript Property2", "PyProp2 wasn't correct initial value"); scriptlet.PyProp2 = "Another New Value"; check(scriptlet.PyProp2=="Another New Value", "PyProp2 wasn't correct new value"); check(scriptlet.PyMethod1()=="PyMethod1 called", "Method1 wrong value"); check(scriptlet.PyMethod2()=="PyMethod2 called", "Method2 wrong value");