You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Have selenium server running as
java -jar selenium-server.jar -userExtensions user-extensions.js as
argument
2. Have compiled the Flex app with FlexSeleniumAPI.swc included
3. Able to compile the testcase and start running it..
4. fails on the following line in sample test case:
flexUITester.type("2").at("arg1");
What is the expected output? What do you see instead?
Getting the following stack trace in the Eclipse:
com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception:
this.browserbot.findElement("seleniumTester").doFlexType is not a function
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExcepti
onOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand
(HttpCommandProcessor.java:91)
at com.thoughtworks.selenium.HttpCommandProcessor.getString
(HttpCommandProcessor.java:262)
at com.thoughtworks.selenium.DefaultSelenium.getEval
(DefaultSelenium.java:443)
at com.thoughtworks.selenium.FlashSelenium.call
(FlashSelenium.java:57)
at com.thoughtworks.selenium.FlexUISelenium.at
(FlexUISelenium.java:62)
at com.thoughtworks.selenium.ColorTest.verifyFlexAppSumIsCorrect
(ColorTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall
(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run
(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively
(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate
(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate
(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate
(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild
(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild
(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren
(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
(JUnit4TestReference.java:46)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run
(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:197)
What version of the product are you using? On what operating system?
Using SeleniumFlex-API_0.2.5 on Windows XP Pro Service Pack 3.
Please provide any additional information below.
Original issue reported on code.google.com by shalab.g...@gmail.com on 12 Feb 2010 at 3:15
The text was updated successfully, but these errors were encountered:
Hi,
I have the same issue. Find the code i used below:
flexSelenium = new FlexUISelenium(selenium, "Flex_Object_ID");
flexSelenium.click("licenseManagertab"); <-- I go the error at this line saying
com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception:
window.document.Flex_Object_ID.doFlexClick is not a function.
Can somebody provide solution please.
NOTE: I have added all the needed jars to my project and build the swf file
with
SeleniumFlexAPI.swc
Thanks in adv,
Sudhakar
Original comment by bsreddy....@gmail.com on 13 May 2010 at 7:30
Original issue reported on code.google.com by
shalab.g...@gmail.com
on 12 Feb 2010 at 3:15The text was updated successfully, but these errors were encountered: