On 6/6/07, edsmith <[EMAIL PROTECTED]> wrote:
. What's the status of using Selenium with AppFuse? When I generated a new AppFuse application (JSF modular), the web test directory contained WebTests.
Correct, Selenium probably won't make it into 2.0 because of time constraints. There's also some interesting discussions on my blog about Selenium vs. WebTests (primarily from WebTest committers). http://raibledesigns.com/rd/entry/canoo_webtest_vs_selenium I also saw that HtmlUnit (the underlying JavaScript engine for WebTest) has fixed some Prototype bugs recently.
. What's best practice for writing Selenium tests for JSF applications? Is it writing HTML tests/suite and calling the runner from Ant/Maven as suggested in http://jroller.com/page/jd?entry=continuous_integration_with_selenium_using? My concern with this approach is the use of properties files from my application. If I store the title of my home page in a properties file, I want to test against the property, not the literal string. Is there a way to do with with Selenium HTML-based tests? Another approach is writing JUnit/TestNG tests in Java with Selenium RC. Is this better?
I would recommend writing your tests in Java - that way the status of those tests is included in reports and such.
. Several posts seem demonstrate a preference of Selenium over WebTest. Is there a good place articulating the justifications for this preference? Does it all center around better JavaScript/AJAX handling?
Yes, for the most part. However, I do think it's interesting to read the WebTest guy's reasons why they thing their solution is better. Matt
-- View this message in context: http://www.nabble.com/Selenium-Questions-tf3879547s2369.html#a10994250 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
