We face a similar problem... due to this.. dont know if it applies to your case.. but worth a try.
"are you using jquery and prototype on the same page by any chance? If so, use jquery noConflict mode, otherwise you are overwriting prototypes $ function" Manoj ----- Original Message ---- > From: Paul <[email protected]> > To: tellurium-users <[email protected]> > Sent: Thursday, July 23, 2009 11:24:22 AM > Subject: Re: Selenium error: Command execution failure. > > > While looking online I wasn't able to find too much information about > the particular error I am getting but I did find this post on > stackoverflow: > > http://stackoverflow.com/questions/980697/element-dispatchevent-is-not-a-function-js-error-caught-in-firebug-of-ff3-0 > > I'm not sure if my problem is in any way related to it, but I thought > it couldn't hurt to post. > > Thanks, > Paul > > On Jul 23, 11:21 am, Paul wrote: > > Hey all, > > > > While executing what appears to be a simple test case I am getting the > > following error message from selenium > > > > ERROR: Command execution failure. Please search the forum > athttp://clearspace.openqa.orgfor error details from the log window. > > The error message is: element.dispatchEvent is not a function > > > > I am trying to have a log file generated by uncommenting the line > > > > logFile = "selenium.log" > > > > in TelluriumConfig.groovy, but for some reason it is still not getting > > generated. Maybe its because I am running Selenium externally? > > > > This is the module I am using: > > > > ui.Form(uid: "accountEdit", clocator: [tag: "form", id: "editPage", > > method: "post"]){ > > InputBox(uid: "accountName", clocator: [tag: "input", > type: > > "text", name: "acc2", id: "acc2"]) > > InputBox(uid: "accountSite", clocator: [tag: "input", > type: > > "text", name: "acc23", id: "acc23"]) > > InputBox(uid: "accountRevenue", clocator: [tag: > > "input", > type: > > "text", name: "acc8", id: "acc8"]) > > TextBox(uid: "heading", clocator: [tag: "h2", text: > "%%Account > > Edit"]) > > SubmitButton(uid: "save", clocator: [tag: "input", > > class: > "btn", > > type: "submit", title: "Save", name: "save"]) > > } > > > > and here is the test case: > > > > public void doCreateAccount() > > { > > type("accountEdit.accountName", "ccc"); > > click("accountEdit.save"); > > waitForPageToLoad(30000); > > } > > > > I have tried tweaking the module (i.e. swapping out SubmitButton with > > Button, changing Form to Container, etc.), but that seems to have no > > effect. It appears that it isn't a location problem anyhow though so > > maybe the module isn't the issue. I apologize for once again being > > unable to post source html due to the policy at my organization. > > > > If anyone has an idea about the problem I'm having I would be very > > glad to hear any tips / advice. Thanks for your time. > > > > -Paul > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
