2

How to handle Flash objects to perform some actions in my application. i am unable to identify the element. can any one help me for this issue

1
  • 1
    Kindly share your html and the element you want to identify Commented Jul 31, 2013 at 6:04

5 Answers 5

1

Selenium automates Web browsers.

From http://seleniumhq.org..

Selenium automates browsers. That's it.

Flash objects are impossible to automate using Selenium as flash objects are not technically 'browser driven' like javascript is. You'll have to find other software to automate Flash.

Source - I am a contributor / maintainer of the project.

Sign up to request clarification or add additional context in comments.

Comments

0

If you are using Ruby language for Selenium-Webdriver automation then you can use "Gem SIKULI" using which we can deal with all Flash elements. http://rubygems.org/gems/sikuli

But it is not that much reliable.

Gem sikuli needs Jruby i.e Java+Ruby

Comments

0

Not possible. All you can do is do some clicking based on the coordinates, but this is really unreliable.

Comments

0

It is not possible to automate flash objects with selenium as selenium is only for HTML so you can use 3rd party API Sikuli for this purpose sikuli provides image based automation in which you take image of an object and then use that image as reference to perform your operation .So in other words in sikuli object identification is done via image processing

please check following simple blog posts to learn about usage of sikuli Automating flash calculator with sikuli integration with selenium.

Comments

0

Add the flashdriver jar into your project and then use the FlashWebDriver method to operate the Flash file.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.