public void ShouldTestFlashSeleniumInOpera()
 {
     selenium = GetSelenium("*opera");
     flashSelenium = new FlashSelenium.FlashSelenium(selenium, flashObjectId);
     flashSelenium.Start();
     flashSelenium.Open(URL);
     flashSelenium.Call("click");
     Assert.AreEqual("BLUE", flashSelenium.Call("getColor"));
 }
示例#2
0
 public void ShouldTestFlashSeleniumInOpera()
 {
     selenium      = GetSelenium("*opera");
     flashSelenium = new FlashSelenium.FlashSelenium(selenium, flashObjectId);
     flashSelenium.Start();
     flashSelenium.Open(URL);
     flashSelenium.Call("click");
     Assert.AreEqual("BLUE", flashSelenium.Call("getColor"));
 }
 public void shouldInvokeStart()
 {
     mockProcessor.Expect("Start");
     ISelenium selenium = (ISelenium) mockProcessor.MockInstance;
     FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
     try
     {
         flashSelenium.Start();
     }
     catch
     {
         Assert.Fail("Should Not Fail");
     }
 }
示例#4
0
        public void shouldInvokeStart()
        {
            mockProcessor.Expect("Start");
            ISelenium selenium = (ISelenium)mockProcessor.MockInstance;

            FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
            try
            {
                flashSelenium.Start();
            }
            catch
            {
                Assert.Fail("Should Not Fail");
            }
        }