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 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"); } }
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"); } }