Letractively / aost

Automatically exported from code.google.com/p/aost
Other
1 stars 0 forks source link

Problem with isElementPresent in IE in 0.7.0 #411

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Caused by: com.thoughtworks.selenium.SeleniumException: ERROR Server
Exception: unexpected command
json={command:"getBundleResponse",target:"[{\"uid\":\"\",\"args\":[],
\"name\":\"isAlertPresent\",\"sequ\":8}]",value:""} in place before
new command getBundleResponse could be added
       at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrE
rror(HttpCommandProcessor.java:
97)
       at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.ja
va:
91)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:
229)
       at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.
java:
52)
       at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java
:
129)
       at
org.telluriumsource.component.connector.CustomSelenium.getBundleResponse(CustomS
elenium.groovy:
257)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
       at
groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:
149)
       at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source)
       at
org.telluriumsource.component.dispatch.Dispatcher.methodMissing(Dispatcher.groov
y:
56)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
       at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:
813)
       at
groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:
1107)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
       at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.ja
va:
39)
       at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java
:
129)
       at
org.telluriumsource.component.bundle.BundleProcessor.passBundledCommand(BundlePr
ocessor.groovy:
322)
       at org.telluriumsource.component.bundle.BundleProcessor
$passBundledCommand.callCurrent(Unknown Source)
       at
org.telluriumsource.component.bundle.BundleProcessor.process(BundleProcessor.gro
ovy:
414)
       at org.telluriumsource.component.bundle.BundleProcessor
$process.callCurrent(Unknown Source)
       at
org.telluriumsource.component.bundle.BundleProcessor.methodMissing(BundleProcess
or.groovy:
427)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
       at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:
813)
       at
groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:
1107)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
       at
groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:
149)
       at groovy.lang.MetaObjectProtocol$invokeMethod$0.call(Unknown Source)
       at
org.telluriumsource.component.custom.Extension.methodMissing(Extension.groovy:
20)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
       at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:
813)
       at
groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:
1107)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:706)
       at
org.telluriumsource.component.custom.Extension.invokeMethod(Extension.groovy)
       at groovy.lang.GroovyObject$invokeMethod$0.call(Unknown Source)
       at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.jav
a:
40)
       at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java
:
117)
       at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java
:
129)
       at
org.telluriumsource.dsl.BaseDslContext.customDirectCall(BaseDslContext.groovy:
125)
       at
com.betfair.www.website.methods.BrowserManager.selectTopFrame(BrowserManager.jav
a:
600)
       at
com.betfair.www.website.methods.BrowserManager.endTest(BrowserManager.java:
3150)
       ... 13 more
20100305-Integration - Test Run Status: FAIL
015_eventNamesAlignedAllPods.xls * CheckEventNameAlignmentAssert 1 *
FAIL * Error:
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrE
rror:
com.thoughtworks.selenium.SeleniumException: ERROR: Command timed out:
ERROR: Command timed out * Mon Mar 22 17:20:49 GMT 2010

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 22 Mar 2010 at 5:35

GoogleCodeExporter commented 8 years ago
changed the isElementPresent() call in Tellurium new API to search only inside 
the UI
module.

To use the Tellurium new API, please call

useTelluriumEngine(true);

before you call the isElementPresent() method.

Original comment by John.Jian.Fang@gmail.com on 7 Apr 2010 at 5:11