What is your UI definition for the Frame. Here is what I found in the Tellurium UserGuide
"waitForFrameToLoad uid, timeout: Waits for a new frame to load. Be aware that Selenium uses the name attribute to locate a Frame." This has worked for me. Hope this helps. Regards, Manoj > >From: Liang HE <[email protected]> >To: [email protected] >Sent: Sun, November 1, 2009 11:35:45 PM >Subject: How to use waitForFrameToLoad > > >Hi Friends, > >I can hardly find more information in Tellurium user guide about the usage of >"waitForFrameToLoad". The api says the first argument is frameAddress, but I >don't know what is the frameAddress. I tried to use uid, but get >NullPointerException: >java.lang.NullPointerException >at java.net.URLEncoder.encode(URLEncoder.java:188) >at >com.thoughtworks.selenium.DefaultRemoteCommand.urlEncode(DefaultRemoteCommand.java:86) >at >com.thoughtworks.selenium.DefaultRemoteCommand.getCommandURLString(DefaultRemoteCommand.java:59) >>at >>com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:86) >at >com.thoughtworks.selenium.DefaultSelenium.waitForFrameToLoad(DefaultSelenium.java:639) >at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) >>at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1061) >at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892) >at groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java:142) >at groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown Source) >>at org.tellurium.dispatch.Dispatcher.invokeMethod(Dispatcher.groovy:26) >at >org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:46) >at >org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43) >>at >>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) >at >org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) >at org.tellurium.access.Accessor.waitForFrameToLoad(Accessor.groovy:294) >>at org.tellurium.access.Accessor$waitForFrameToLoad.call(Unknown Source) >at >org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43) >at >org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) >>at >>org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) > >Anyone have some clue? > >Thank you! >Liang > >>> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
