Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
senthilm.aynara
Active particpant
Active particpant
Posts : 19
Join date : 2009-09-15

Function doFlexClick not found on the External Interface Empty Function doFlexClick not found on the External Interface

Tue Oct 06, 2009 1:09 pm
Hi all,
I worked with sample flex application(Flex3StyleExplorer). it works fine in Selenium IDE and Selenium RC.
But when i try it my flex application, I am getting the following error in Selenium IDE,



Function doFlexClick not found on the External
Interface for the flash object


and in Selenium RC,


com.thoughtworks.selenium.SeleniumException:
ERROR: Threw an exception: Object
doesn't support this
property or method


Note : I have

placed “SeleniumFlexAPI.swc” file in my application.

Can anybody tell me, what is the problem here?
It would be great if anybody help me to solve this problem.

Thanks & Regards,
Senthilm
avatar
sudheer raj
Posts : 4
Join date : 2009-12-03

Function doFlexClick not found on the External Interface Empty Re: Function doFlexClick not found on the External Interface

Thu Dec 03, 2009 5:49 pm
even u have to add flash-selenium.jar and flex-ui-selenium.jar in your selenium script.
http://code.google.com/p/flex-ui-selenium/
avatar
rajbhuvi
Posts : 3
Join date : 2010-04-07

Function doFlexClick not found on the External Interface Empty Re: Function doFlexClick not found on the External Interface

Wed Apr 07, 2010 1:38 pm
sudheer raj wrote:even u have to add flash-selenium.jar and flex-ui-selenium.jar in your selenium script.
[url=http://code.google.com/p/flex-ui-selenium/
http://code.google.com/p/flex-ui-selenium/[/quote[/url]]


I too facing same issue, do have above jars in classpath.
Pls help to resolve it.

Thanks in advance
avatar
submitsim
Posts : 3
Join date : 2010-04-23

Function doFlexClick not found on the External Interface Empty I get the same problem

Fri Apr 23, 2010 1:44 am
flexUITester.type("username").at("TextInputId1");
flexUITester.type("password").at("TextInputId2");

flexUITester.click("ButtonId");

I get:

[junit] ERROR: Threw an exception: Object doesn't support this property or method
[junit] com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: Object doesn't support this property or method


Any Help please???
avatar
submitsim
Posts : 3
Join date : 2010-04-23

Function doFlexClick not found on the External Interface Empty Re: Function doFlexClick not found on the External Interface

Wed Apr 28, 2010 5:30 am
I get the same error, I spent days and days trying alot, but not working

Any help please.
flexUITester.type("eee").at("txt1");
flexUITester.click("forgotLink");

flexUITester.wait(3);

ERROR: Threw an exception: Object doesn't support this property or method
avatar
nudrch
Posts : 1
Join date : 2010-05-06

Function doFlexClick not found on the External Interface Empty Working fine here

Thu May 06, 2010 10:38 pm
Hi..
It seems to me you have a Flex problem and not a Java problem.
I have successfully made a simple Selenium test.

ExternalInterface is something Selenium has to define in Flex code, so that Javascript can call it.

Do you have the sfapi.swc library in your project? If you don't add it.
And check you have "include-library" for it - because the project must compile with it.

For a more extensive explanation you can read SFAPI documentation which is short and to the point.

BTW - I am running with Flex4.. so I guess it works fine with 3.
avatar
submitsim
Posts : 3
Join date : 2010-04-23

Function doFlexClick not found on the External Interface Empty flex Selenium

Wed May 19, 2010 4:00 am
yes it works fine now, I figured it out.
So now I use
SeleniumFlexAPI.swc

and I do simple flex Selenium testing such as

flexUITester.type("userName").at("txt1");
flexUITester.type("passWord").at("txt2");
flexUITester.click("goButt");
String str = flexUITester.readFrom("matchingID");

Now, I need to select an option from a manu, how can I do that?.
Also, it seems that I do not have many options with SeleniumFlexAPI. someting like click, type, read, wait..thats all.

in original selenium, there is select, get, and many many others such as mouseOver.


There is another way, that we get a class called DefaultSeleniumFlex extends DefaultSelenium
selenium= new DefaultSeleniumFlex(,,,,)

selenium.select(selectLocator, optionLocator);

and we have many options to use .

I get this error:
[junit] ERROR: Unknown command: 'flexType'
[junit] com.thoughtworks.selenium.SeleniumException: ERROR: Unknown command: 'flexType'

now it is not recognizing any selenium options.

Is there another new version of SeleniumFlexAPI.swc???

thanks

Sponsored content

Function doFlexClick not found on the External Interface Empty Re: Function doFlexClick not found on the External Interface

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