Last post May 20, 2009 10:40 PM by farmas
May 18, 2009 05:06 PM|brett.a.rose|LINK
I have notices that any time I try to run the tests in firefox it throws an error. I was wondering if there will be some compatibility with firefox in the future...
May 18, 2009 10:12 PM|farmas|LINK
Hi there, could you provide some more details regarding the problem that you are seeing? FireFox is a supported browser of LTAF, the only known issue that I am aware of is that if you have a lot of tests it tends to slow down after a while (we are releasing
a fix for this on the next release).
May 19, 2009 05:29 PM|brett.a.rose|LINK
This is a screenshot of the error that I got when trying to run the tests in Firefox.
May 19, 2009 06:47 PM|farmas|LINK
By looking at the screen shot I would say you are running into the problem of executing script from different domains. Your test website is navigating to
http://localhost:3080/IntegrationTests/Test but then you attempt to navigate to
Please refer to this post for more information:
http://forums.asp.net/t/1385709.aspx. If it is not feasible to change the server where you are running your tests, Michael Cowan has a very cool way of overcoming this by using a custom HttpModule.
May 19, 2009 06:49 PM|farmas|LINK
Actually, I am also intrigued if this even works for other browsers. If the cause of failure is cross domain script execution, it should also fail on IE. Let me know if that is not the case, because it could be something completely different then.
May 20, 2009 04:34 PM|brett.a.rose|LINK
I still get the same problem whether I use Firefox or IE and I think that the problem is that because the websites are running in IIS and even when I have the tests running on the same box as the website I still don't have permissions to run the tests. Is
there an easy fix to this besides doing that httpModule thing?
here is a link to the other thread I started cause I figured these were different issues but the seem very similar.
May 20, 2009 10:40 PM|farmas|LINK
Ok, if both of your websites are in the same box then you should have no problem as long they are on the same website in IIS. Just make sure the host name is exactly the same when you navigate to the frameset page as the url that you are using within your
For example, if your test has
HtmlPage page = new HtmlPage("http://mysite/myapplication/page.aspx");
Then when you load the frameset, make sure you navigate to "http://mysite/mytestapplication/test"
This way, the browser will think that the content of both applications come from the same domain and allow cross frame interaction. Let me know if that works out for you.