Hi,
I have a two test methods as following codes, the TestMethodChrome doesn't work as expected, the cookie couldn't be set, but the same codes work well on FireFox and IE(e.g TestMethodFireFox). I used Telerik.Testing.Framework.2012.2.1022 for testing. is it a bug in this build of testing framework?
Thanks
Jet
I have a two test methods as following codes, the TestMethodChrome doesn't work as expected, the cookie couldn't be set, but the same codes work well on FireFox and IE(e.g TestMethodFireFox). I used Telerik.Testing.Framework.2012.2.1022 for testing. is it a bug in this build of testing framework?
Thanks
Jet
[TestClass] public class MyTest:BaseTest { [TestMethod] public void TestMethodChrome() { base.Initialize(); Manager.LaunchNewBrowser(BrowserType.Chrome); ActiveBrowser.Cookies.SetCookie(new System.Net.Cookie("mycookie", "myvalue", "/", "www.google.com")); ActiveBrowser.NavigateTo("http://www.google.com"); } [TestMethod] public void TestMethodFireFox() { base.Initialize(); Manager.LaunchNewBrowser(BrowserType.FireFox); ActiveBrowser.Cookies.SetCookie(new System.Net.Cookie("mycookie", "myvalue", "/", "www.google.com")); ActiveBrowser.NavigateTo("http://www.google.com"); } }