Hi,

I am upgrading from 6 to 7 version of tellurium.
One of my web test is failing  with the following err log:

com.thoughtworks.selenium.SeleniumException: ERROR: Element
uimcal={"rid":"addeinvoiceaddressform.einvoiceaddress","locator":"jquery=form[method=post]
[name=routingForm] input[type=text][name=routingForm:routingId]"} not
found
        at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
97)
        at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
91)
        at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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(CustomSelenium.groovy:
257)
        at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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.groovy:
56)
        at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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.java:
39)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
129)
        at
org.telluriumsource.component.bundle.BundleProcessor.passBundledCommand(BundleProcessor.groovy:
322)
        at org.telluriumsource.component.bundle.BundleProcessor
$passBundledCommand.callCurrent(Unknown Source)
        at
org.telluriumsource.component.bundle.BundleProcessor.process(BundleProcessor.groovy:
414)
        at org.telluriumsource.component.bundle.BundleProcessor
$process.callCurrent(Unknown Source)
        at
org.telluriumsource.component.bundle.BundleProcessor.methodMissing(BundleProcessor.groovy:
427)
        at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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.java:
39)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
133)
        at
org.telluriumsource.component.event.EventHandler.simulateKeyType(EventHandler.groovy:
290)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:
361)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:
66)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
159)
        at org.telluriumsource.component.event.EventHandler
$_keyType_closure12.doCall(EventHandler.groovy:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:
272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:
66)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
151)
        at org.telluriumsource.component.event.EventHandler
$_keyType_closure12.doCall(EventHandler.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:
272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
39)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
54)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
121)
        at org.telluriumsource.component.event.EventHandler
$_processEvents_closure1.doCall(EventHandler.groovy:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:
272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at groovy.lang.Closure.call(Closure.java:276)
        at groovy.lang.Closure.call(Closure.java:289)
        at
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:
1167)
        at
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:
1143)
        at org.codehaus.groovy.runtime.dgm$108.invoke(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:
270)
        at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:
52)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
125)
        at
org.telluriumsource.component.event.EventHandler.processEvents(EventHandler.groovy:
83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:
266)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:
51)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:
56)
        at
org.telluriumsource.component.event.EventHandler.keyType(EventHandler.groovy:
234)
        at org.telluriumsource.component.event.EventHandler
$keyType.call(Unknown Source)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
        at org.telluriumsource.component.event.EventHandler
$keyType.call(Unknown Source)
        at org.telluriumsource.dsl.BaseDslContext
$_keyType_closure10.doCall(BaseDslContext.groovy:219)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:
272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
39)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
129)
        at org.telluriumsource.ui.object.InputBox.keyType(InputBox.groovy:26)
        at org.telluriumsource.ui.object.InputBox$keyType.call(Unknown
Source)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callSafe(AbstractCallSite.java:
97)
        at
org.telluriumsource.dsl.BaseDslContext.keyType(BaseDslContext.groovy:
217)
        at org.telluriumsource.dsl.BaseDslContext$keyType.callCurrent(Unknown
Source)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
44)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
143)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
155)
        at
com.basware.bt.web.administration.changehistory.ChangeHistoryModule.addEinvoiceAddressOVT(ChangeHistoryModule.groovy:
201)
        at
com.basware.bt.web.administration.changehistory.ChangeHistoryTest.addEditAndDeleteOVT(ChangeHistoryTest.java:
51)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:
74)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:
31)
        at
org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:
82)
        at
org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:
72)




Mu uid defintion is as follows:
 //uid for add einvoice address
     ui.Form(uid: "addeinvoiceaddressform", clocator: [tag: "form",
action: "createExternalId.jsp", method: "post", name: "routingForm"]){
      InputBox(uid: "receiveraddress", clocator: [tag: "input", type:
"text", name: "routingForm:recipient"])
      InputBox(uid: "einvoiceaddress", clocator: [tag: "input", type:
"text", name: "routingForm:routingId"])

    }

When i record i get the following from Trump IDE:

Form(uid: "root", clocator: [tag: "form", action:
"createExternalId.jsp", method: "post", name: "routingForm", id:
"routingForm"]){
        Container(uid: "T4dddddd", clocator: [tag: "table", class:
"formGrid_sideBySide"]){
                InputBox(uid: "input0", clocator: [tag: "input", type: "text",
value: "BTIPC TEST 6", name: "routingForm:recipient", id:
"routingForm:recipient"])
                Container(uid: "select1", clocator: [tag: "select", name:
"routingForm:type", id: "routingForm:type"]){
                        TextBox(uid: "option2", clocator: [tag: "option", text: 
"OVT",
value: "1"])
                }
                InputBox(uid: "input3", clocator: [tag: "input", type: "text", 
name:
"routingForm:routingId", id: "routingForm:routingId"])
                InputBox(uid: "textarea4", clocator: [tag: "textarea", id:
"routingForm:reason", name: "routingForm:reason"])
        }
        SubmitButton(uid: "input5", clocator: [tag: "input", type: "submit",
class: "btn_hover", value: "Save", name: "routingForm:submit", id:
"routingForm:submit"], respond: ["mouseOut", "mouseOver", "click"])
}




and here is how i am calling failing text  box :

keyType "addeinvoiceaddressform.einvoiceaddress", 'SeleniumTest001'

Also, when i debug test case it becomes successful but when i try to
run it then it fails.

I am searched enough but no results :(

thanks for any help.

Rgds,
Khush

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to