public void tearDown() { if (ie.notNull()) { ie.parentForm().close(); } }
public static ascx_Simple_Script_Editor script_IE(this WatiN_IE ie) { ie.parentForm().show(); // in case it is hidden var codeToAppend = "//using FluentSharp.Watin".line() + // required refereces to allow easy scripting "//using WatiN.Core ".line() + "//O2Ref:WatiN.Core.dll "; var scriptEditor = ie.script_Me("ie") // set varaible name to 'ie' instead of 'watiN_IE' .code_Append(codeToAppend); return(scriptEditor); }
[TestFixtureTearDown] public void testFixtureTearDown() { //ie.close(); ie.parentForm().close(); IE_UnitTest.Current = null; }
[TestFixtureTearDown] public void testFixtureTearDown() { nUnitTests_Cassini.stop(); ie.parentForm().close(); }
public void TestFixtureTearDown() { ie.close(); ie.parentForm().close(); }
[TearDown] public void tearDown() { ie.parentForm().close(); }