tag:blogger.com,1999:blog-7821856652257554779.post1097884295593212150..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: Test your web application with SeleniumAndrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7821856652257554779.post-82905863147392931142007-04-30T15:41:00.000+02:002007-04-30T15:41:00.000+02:00Hi Poulwiel,The idea isn't Rails-only.If you want ...Hi Poulwiel,<BR/><BR/>The idea isn't Rails-only.<BR/>If you want to test that a user is able to create new bills you don't need to use Selenium to log in as this user. You probably have already tested that in another functional test. Instead, you can prepare the state (a user already logged in) using your internal object structure.<BR/><BR/>For me, the main goal of a functional test is to simulate a user's behavior. I always try to have 100% unit test coverage, which means I'll probably have some duplication in my functional and unit tests.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-63474678264936854642007-04-24T13:47:00.000+02:002007-04-24T13:47:00.000+02:00"Which means, if you have already tested creating ..."Which means, if you have already tested creating users in a functional way, you don't need to test it functionally again" - what do You mean by that? Is it related only to rails?<BR/>As i understand it, i should not test things i have tested in unit tests, for example accurate tax amount on invoice.poulwielhttps://www.blogger.com/profile/12346470885295323709noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-13128513876216004472007-04-19T10:35:00.000+02:002007-04-19T10:35:00.000+02:00I've used it for testing performance with no probl...I've used it for testing performance with no problems. But the web application I was testing was taking up to 2 minutes to return a page when I started, so perhaps the problems Erik referred to are simply due to the jitter in timings produced by the selenium overhead, which might affect faster pages?<BR/><BR/>I tried to use it for load testing as well, by firing off several sessions simultaneously from the command line, but I never got that to work. I suspect the outgoing simulteneous http connections from a single Windows machine are throttled to about 4.Tartleyhttps://www.blogger.com/profile/00988846474826233422noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-50241994826759662292007-04-19T02:25:00.000+02:002007-04-19T02:25:00.000+02:00Selenium is pretty cool, but has some problems too...Selenium is pretty cool, but has some problems too. Despite some alternative ways of running it, selenium doesn't really support testing applications that use multiple domains (like in my case, one specific for authentication) or mixing http and https urls in the same testing session.LuizGeronhttps://www.blogger.com/profile/17060230267009802781noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-13495392490539222932007-04-19T02:23:00.000+02:002007-04-19T02:23:00.000+02:00This comment has been removed by the author.LuizGeronhttps://www.blogger.com/profile/17060230267009802781noreply@blogger.com