Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Function doFlexClick not found on the External Interface

View previous topic View next topic Go down

Function doFlexClick not found on the External Interface

Post by senthilm.aynara on 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

senthilm.aynara
Active particpant
Active particpant

Posts : 19
Join date : 2009-09-15

Back to top Go down

Re: Function doFlexClick not found on the External Interface

Post by sudheer raj on 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/

sudheer raj

Posts : 4
Join date : 2009-12-03

Back to top Go down

Re: Function doFlexClick not found on the External Interface

Post by rajbhuvi on 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

rajbhuvi

Posts : 3
Join date : 2010-04-07

Back to top Go down

I get the same problem

Post by submitsim on 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???

submitsim

Posts : 3
Join date : 2010-04-23

Back to top Go down

Re: Function doFlexClick not found on the External Interface

Post by submitsim on 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

submitsim

Posts : 3
Join date : 2010-04-23

Back to top Go down

Working fine here

Post by nudrch on 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.

nudrch

Posts : 1
Join date : 2010-05-06

Back to top Go down

flex Selenium

Post by submitsim on 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


submitsim

Posts : 3
Join date : 2010-04-23

Back to top Go down

Re: Function doFlexClick not found on the External Interface

Post by Sponsored content Today at 1:53 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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