how to automate flash based application using selenium

164 views
Skip to first unread message

Pavan Prasad

unread,
Dec 30, 2013, 12:46:25 AM12/30/13
to seleniu...@googlegroups.com
I have flash based application which contains videos,images etc,i need to automate using selenium webdriver.

Can any help to automate above application using selenium.

I know we can use autoit and sikuli tool to integrate selenium,but I am excepting another best and possible solution then sikuli and autoit tools.


Please guide me..Thanks in advance

Vaibhav P

unread,
Dec 30, 2013, 1:48:09 AM12/30/13
to seleniu...@googlegroups.com
Since Flash based application doesn't have Browser DOM to play around with, Selenium web driver won't be able to cater your needs to automate Flash Objects. Also, AFAIK There's no other 'Browser Automation Tool' (Let's say CodedUI or anything else) which could possibly let you do so. 

I would still suggest to go ahead with Image based (Sikuli) or Generic Windows automation tools for that (AutoIT Scripts)

@Krishnan - You have any other possible suggestions?


-
Vaibhav



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7c266ce1-e2ad-4b12-bb65-7365b1c778a4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Krishnan Mahadevan

unread,
Dec 30, 2013, 2:10:42 AM12/30/13
to Selenium Users
Nope. I dont think there is any direct way of dealing with flash objects using Selenium apart from one having to resort to tools such as either Sikuli or AutoIT.

The problem with Sikuli is that it can generate failures if the resolution of the image doesnt match [ expected vs actual]. I think one may be able to define some tolerance values for getting past this as well. But I have never used sikuli so I dont know beyond this.

With AutoIT the problem is that the autoIT script can be literally un-usable in a Grid setup. So it wouldnt work fine [without some creative hacks] with RemoteWebDriver and a Grid setup.


I also remember vaguely reading some posts on this forum which hinted at modifying the internals of the swf to expose javascript hooks, which can then be invoked via WebDriver using the executeScript(). But for this flash code should be available should be modified with such exposures before being deployed to the test environment. But I dont have much expertise with this as well.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


Reply all
Reply to author
Forward
0 new messages