Could you post your ui module definition? And the line of code that caused the problem?
On Wed, Jul 13, 2011 at 6:50 AM, QA_new <[email protected]> wrote: > Hi > > I am beginner in Tellurium. I have created a test script for a page > where i have to save the data but before that i have to click on menu > link. on executing the script m facing an error > > org.telluriumsource.exception.UiObjectNotFoundException: Cannot find > UI Object ctl00_NavigationPlaceholder_RadPanelbar1_p0.Administration > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: > 39) > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: > 27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > > org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java: > 77) > at org.codehaus.groovy.runtime.callsite.ConstructorSite > $ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java: > 107) > at > > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java: > 52) > at > > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java: > 192) > at > > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java: > 200) > at > > org.telluriumsource.dsl.BaseDslContext.walkToWithException(BaseDslContext.groovy: > 155) > at org.telluriumsource.dsl.BaseDslContext > $walkToWithException.callCurrent(Unknown Source) > at > > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java: > 44) > at org.telluriumsource.dsl.BaseDslContext > $walkToWithException.callCurrent(Unknown Source) > at > org.telluriumsource.dsl.BaseDslContext.click(BaseDslContext.groovy: > 166) > at org.telluriumsource.dsl.BaseDslContext$click.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: > 151) > at > > com.basware.sp.web.SPCompanyProfileModule.saveComp(SPCompanyProfileModule.groovy: > 96) > at > com.basware.sp.web.SPCompanyProfileTest.saveComp(SPCompanyProfileTest.java: > 33) > 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.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java: > 31) > at > > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java: > 73) > at > > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java: > 46) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) > at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) > 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.ParentRunner.run(ParentRunner.java:220) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at > > com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java: > 94) > at > > com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java: > 196) > at > com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java: > 65) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at com.intellij.rt.execution.application.AppMain.main(AppMain.java: > 115) > > can anyone help me out for this error. > > Regards > Shivani > > -- > 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. > > -- 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.
