Hello,
we are using the latest version of your testing framework, and are unable to set cookies when using Chrome (other browsers don't exhibit this problem)
The last assertion always fails. The example you mention here does not exhibit this behavior. When I omit the port, and only use
the problem still persists, however setting the root to loopback
seems to work, as long as the port is omitted.
We would really appreciate if this issue could be fixed, as this is a major impediment that stops us from purchasing your Test Studio.
Thank you.
Regards,
Peter
we are using the latest version of your testing framework, and are unable to set cookies when using Chrome (other browsers don't exhibit this problem)
string
path =
"/some/path/"
;
string
root =
"localhost:900"
;
var cookie =
new
Cookie(
CookieName,
CookieValue,
path,
root)
{
Expires = DateTime.UtcNow.AddDays(CookieExpireInDays)
};
TelerikProxy.ActiveBrowser.Cookies.SetCookie(cookie);
var userCookieAfterLogin = TelerikProxy.ActiveBrowser.Cookies.GetCookies(
"http://"
+ root + path);
CollectionAssert.IsNotEmpty(userCookieAfterLogin);
The last assertion always fails. The example you mention here does not exhibit this behavior. When I omit the port, and only use
string
root =
"localhost"
;
string
root =
"127.0.0.1"
;
We would really appreciate if this issue could be fixed, as this is a major impediment that stops us from purchasing your Test Studio.
Thank you.
Regards,
Peter