Share
Go down
dipti_shinde
Posts : 2
Join date : 2010-01-07

How to detect dynamically generated flash controls in selenium

on Wed Jan 13, 2010 6:09 pm
In my flash application one textbox and button are dynamically generated .
So no ID is given to these dynamically generated controls.
So in selenium in doFlexClick event how to detect that dynamically generated control?
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: How to detect dynamically generated flash controls in selenium

on Tue Jan 19, 2010 12:05 pm
Hi,

For flash component selenium is very less supported. To perform operation on flash component you need other tool or you have to write your own javascript function that will perform operation on flash component.
For this you must have great programming skills.

In selenium you can just verify its name and some attribute only. Nothing more than this. Hope this will help you to get an idea.

Best of luck

Bye
h2oman
Posts : 2
Join date : 2012-03-22

Re: How to detect dynamically generated flash controls in selenium

on Fri Mar 23, 2012 12:34 am
I notice this post is dated 2010. Has there been any progress with Selenium in support for Flash 4 or higher?

I'm using sfapi.swc 2.6 (I believe the latest version), but it looks like the flexcompiler-version is 3.5.

The ape uses JavascriptExecutor perform the automated actions. With this api I can get click method to work on buttons and textboxes. Cannot click checkboxes, comboboxes or dropdowns. The type(enterText) method works on texbox. However, combox and dropdown can only be selected by index and not by value(text), which is not favorable.

Any information is appreciated. Thanks in advance!
Sponsored content

Re: How to detect dynamically generated flash controls in selenium

Back to top
Permissions in this forum:
You cannot reply to topics in this forum