need help to test flash applications

162 views
Skip to first unread message

Sunflower

unread,
May 17, 2012, 10:40:11 PM5/17/12
to Watir General
Hi,
Good morning,
How do i approach to test flash applications? is there any way to do
it?
I would like to request to know more about it. please let me know.

thanks in advance,
Sunflower

Željko Filipin

unread,
May 18, 2012, 3:22:33 AM5/18/12
to watir-...@googlegroups.com
On Fri, May 18, 2012 at 4:40 AM, Sunflower <arra...@gmail.com> wrote:
> How do i approach to test flash applications?

You will have to use another tool, since Watir can not test flash.

Željko
--
watir.com/book - author

Sridhar Arramaraju

unread,
May 18, 2012, 3:41:09 AM5/18/12
to watir-...@googlegroups.com
Thanks Filipin. Could you please suggest any?


Željko Filipin

unread,
May 18, 2012, 3:43:39 AM5/18/12
to watir-...@googlegroups.com
On Fri, May 18, 2012 at 9:41 AM, Sridhar Arramaraju <arra...@gmail.com> wrote:
> Could you please suggest any?

I never had to test flash, but you could try Sikuli:


Željko

Sridhar Arramaraju

unread,
May 18, 2012, 5:09:08 AM5/18/12
to watir-...@googlegroups.com
Thanks alot Filipin, sure I will try with it.
 
Actually I was looking for testing the Web Applicaitons based on Flash. So, I have started exploring Watir and found interesting to do it. But I got doubt about it, will it supports to test flash based apps or not.
I really appreciate, in case any plugins/gems will get release to test it in future, please drop a message. I will also keep in touch with site to get updates.
 
have a nice day :)
 
thanks in advance.
Sun
 


 

--

Chuck van der Linden

unread,
May 18, 2012, 12:05:19 PM5/18/12
to watir-...@googlegroups.com
Flash objects do not expose their internals (buttons etc) to the browser, they are basically a black box, and just show up usually as a swf file in the HTML and the DOM.  Some commercial tools have add-ons you can buy to work with flash stuff, I've not used them so have no idea how well they work..

I've used Sikuli in a few scripts where I needed to click a button inside a flash app and it worked great for that.  It's image based so as long as the look and feel of the flash buttons etc does not change much its a pretty easy solution to use for that.   http://sikuli.org/   Most folks that need to do this end up running watir via JRUBY.   if you google on watir and sikuli you are likely to find a few articles on how to use the two together. 

Željko Filipin

unread,
May 18, 2012, 2:09:21 PM5/18/12
to watir-...@googlegroups.com
On Fri, May 18, 2012 at 6:05 PM, Chuck van der Linden <sqa...@gmail.com> wrote:
> Most folks that need to do this end up running watir via JRUBY

I have called sikuli scripts from normal ruby, there is no need to use jruby. You can call any script from ruby.

Željko

Chuck van der Linden

unread,
May 26, 2012, 7:02:40 PM5/26/12
to watir-...@googlegroups.com
That's good to know, thanks.  I was just going by the examples I had seen that all used JRuby (perhaps because Sikuli is java based, so it was presumed it would work better that way.. or maybe just because the examples were used by folks that like JRuby better than regular ruby.  

Either way good to know it should work just fine from regular ruby.    (have you put any examples of that up anywhere?)  

Željko Filipin

unread,
May 28, 2012, 5:10:44 PM5/28/12
to watir-...@googlegroups.com
On Sun, May 27, 2012 at 1:02 AM, Chuck van der Linden <sqa...@gmail.com> wrote:
> Either way good to know it should work just fine from regular ruby.    (have you put any examples of that up anywhere?)

I plan to write about it on my blog soon.

Željko

Enix Shen

unread,
Jun 10, 2012, 11:26:39 AM6/10/12
to watir-...@googlegroups.com
I publish a project based on sikuli on github.

I use it with watir-webdriver to test flash games on facebook.

It support invoking sikuli function remotely and you needn't install JRuby.

https://github.com/enix12enix/sikuli-remote-control

Provide two client API, ruby and java

--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.
 
watir-...@googlegroups.com
http://groups.google.com/group/watir-general

Reply all
Reply to author
Forward
0 new messages