leeleoo / flash-selenium

Automatically exported from code.google.com/p/flash-selenium
0 stars 0 forks source link

Calculate Sum example fails on IE7 and FF2 #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Run the sample Calculate Sum example using IE7 or FF2.0 on Win XP
2.
3.

What is the expected output? What do you see instead?
It should perform addition of given numbers (Able to access the text field 
and enter the value automatically). Also it allows to select click button 
and perform given operation.

What version of the product are you using? On what operating system?
IE 7.0, FF 3.0.3, flashselenium-java-client-extension-1.0, flex-ui-
selenium-0.1.1, junit-4.6, selenium-remote-control-1.0.1

Please provide any additional information below.

Exception in JUnit:
com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: 
Object doesn't support this property or method
    at 
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExcepti
onOrError(HttpCommandProcessor.java:97)
    at 
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess
or.java:91)
    at 
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcess
or.java:262)
    at 
com.thoughtworks.selenium.DefaultSelenium.getEval(DefaultSelenium.java:435)
    at 
com.thoughtworks.selenium.FlashSelenium.call(FlashSelenium.java:55)
    at 
com.thoughtworks.selenium.FlexUISelenium.at(FlexUISelenium.java:62)
    at 
com.examples.FlexUISeleniumTest.verifyFlexAppSumIsCorrect(FlexUISeleniumTes
t.java:44)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at 
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRun
ner.java:99)
    at 
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner
.java:81)
    at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfter
Runner.java:34)
    at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java
:75)
    at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
    at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClas
sMethodsRunner.java:66)
    at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunne
r.java:35)
    at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner
.java:42)
    at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfter
Runner.java:34)
    at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
    at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestRe
ference.java:45)
    at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
unner.java:460)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
unner.java:673)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
.java:386)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
r.java:196)

Original issue reported on code.google.com by meetvija...@gmail.com on 16 Jul 2009 at 5:30

Attachments: