예제 #1
0
 public void tearDown()
 {
     if (ie.notNull())
     {
         ie.parentForm().close();
     }
 }
예제 #2
0
        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);
        }
예제 #3
0
 [TestFixtureTearDown] public void testFixtureTearDown()
 {
     //ie.close();
     ie.parentForm().close();
     IE_UnitTest.Current = null;
 }
예제 #4
0
 [TestFixtureTearDown] public void testFixtureTearDown()
 {
     nUnitTests_Cassini.stop();
     ie.parentForm().close();
 }
예제 #5
0
 public void TestFixtureTearDown()
 {
     ie.close();
     ie.parentForm().close();
 }
 [TearDown] public void tearDown()
 {
     ie.parentForm().close();
 }