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"));
 }
Beispiel #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"));
 }
Beispiel #3
0
        public void shouldOpenUrl()
        {
            mockProcessor.Expect("Open", new object[] { "http://blah.com" });
            ISelenium selenium = (ISelenium)mockProcessor.MockInstance;

            FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
            try
            {
                flashSelenium.Open("http://blah.com");
            }
            catch
            {
                Assert.Fail("Should Not Fail");
            }
        }
 public void shouldOpenUrl()
 {
     mockProcessor.Expect("Open", new object[] {"http://blah.com"});
     ISelenium selenium = (ISelenium)mockProcessor.MockInstance;
     FlashSelenium.FlashSelenium flashSelenium = new FlashSelenium.FlashSelenium(selenium, "test");
     try
     {
         flashSelenium.Open("http://blah.com");
     }
     catch
     {
         Assert.Fail("Should Not Fail");
     }
 }