News for hackers. Stuff that matters.
Re:Fake - Mac OS X Web Browser Automation and Webapp Testing... by sghael on Tuesday July 06, 2010 @02:06PM (#1491773)
If I understand how this works, there is a clear use case for using this over say Selinium: flash interaction testing. so assuming you have a fixed dimension site in the fluid browse, you could interact with flash widgets... Right? or am I totally off track here?

For most other functional testing I'd stick to webrat that I can bake into my build script.

But flash testing...I really want to crack that nut.

Re:Fake - Mac OS X Web Browser Automation and Webapp Testing... by swombat on Tuesday July 06, 2010 @02:24PM (#1491832)
Try eggPlant by TestPlant: http://www.testplant.com/

We're using it, and it's the only solution we've found that works well for Flash testing. Costs a bundle, but was worth it to automate our (mostly Flash-based) app...

Also, it doesn't look like Fake would be able to interact with Flash/Flex apps, based on the screenshots. Looks like DOM scripting to me.

Re:Fake - Mac OS X Web Browser Automation and Webapp Testing... by hugs on Tuesday July 06, 2010 @06:18PM (#1492592)
An open-source alternative to the eggPlant's visual-based testing tool is Sikuli: http://groups.csail.mit.edu/uid/sikuli

And I posted above, you can also use Selenium + Flex-Pilot to test Flash or Flex apps: http://github.com/admc/flex-pilot-x/ http://github.com/mde/flex-pilot/

Re:Fake - Mac OS X Web Browser Automation and Webapp Testing... by hugs on Tuesday July 06, 2010 @06:10PM (#1492572)
You absolutely can use Selenium to test flash (and flex): Gratuitous Landing Page: http://saucelabs.com/flex Source Code: http://github.com/admc/flex-pilot-x/

A lightning talk by Adam Christian about Flex Pilot: Part 1: http://www.youtube.com/watch?v=H_eECx0vgsI Part 2: http://www.youtube.com/watch?v=k3YeK_eowi0

Another tool you might want to look into for flash testing Sikuli: http://groups.csail.mit.edu/uid/sikuli/

Re:Fake - Mac OS X Web Browser Automation and Webapp Testing... by bradleyland on Tuesday July 06, 2010 @04:52PM (#1492342)
I'm not sure I follow you? This app doesn't have any ability to "record" (especially not click coordinates). Rather, you assemble your actions by drag-and-drop only. Selinium is far more full featured browser automator. However, this power comes at the cost of simplicity. Selinium is broken up in to three separate components that must be installed and work together in order to function. This isn't a bad thing. It's just far more complicated than Fake.