public void RunScriptRunTimeErrorTest()
        {
            Dictionary<string, string> variables = new Dictionary<string, string>();
            variables.Add("key1", "value");
            WebBrowser browser = new WebBrowser(_browserType, new SWAT_Editor.Controls.EditorVariableRetriever(variables));

            string result = browser.RunScriptSaveResult("CSHARP", "using SWAT; class test{public static string Main(){string s = \"hello\"; int i =int.Parse(s);return s;}}", "");
        }
        public void RunScriptCompilerErrorTest()
        {
            Dictionary<string, string> variables = new Dictionary<string, string>();
            variables.Add("key1", "value");
            WebBrowser browser = new WebBrowser(_browserType, new SWAT_Editor.Controls.EditorVariableRetriever(variables));

            string result = browser.RunScriptSaveResult("CSHARP", "using SWAT; class test{dkfjdkfj}}", "");
        }
        public void RunScriptSaveResultCSharpVariableSaveAndRecallTest()
        {
            Dictionary<string, string> variables = new Dictionary<string, string>();
            variables.Add("key1", "value");
            WebBrowser browser = new WebBrowser(_browserType, new SWAT_Editor.Controls.EditorVariableRetriever(variables));            

            string result = browser.RunScriptSaveResult("CSHARP", "using SWAT; class test{public static string Main(){swatVars.Save(\"url\", \"www.google.com\"); return \"hello wonderful\";}}", "");
            Assert.AreEqual("hello wonderful", result);

            result = browser.RunScriptSaveResult("CSHARP", "namespace SWAT{class test{public static string Main(){return swatVars.Recall(\"url\");}}}", "");
            Assert.AreEqual("www.google.com", result);
        }