I only tried once because I am behind the firewall, seems their web is totally javascript based and the click did not work with the mouseDown and mouseUp event. Need to double check tonight at home.
Thanks, Jian On Tue, Jul 13, 2010 at 11:36 AM, Jonathan Share <[email protected]>wrote: > Not tested myself but shouldn't it just be enough to add the respond > argument to the UrlLink? > > UrlLink(uid: "Ok", clocator: [id: "sc380"], respond: ["click", > "mouseDown", "mouseUp"]) > > On 13 July 2010 17:30, Jian Fang <[email protected]> wrote: > > Hi, > > > > Based on your UI, I create the following UI module: > > > > ui.Container(uid: "SignUp", clocator: [tag: "div", class: "sc-view", > id: > > "sc378"]) { > > Div(uid: "Name", clocator: [tag: "div", text: "Name:", direct: > "true", > > class: "sc-view sc-label-view sc-regular-size", id: "sc382"]) > > InputBox(uid: "First", clocator: [tag: "input", type: "text", name: > > "sc383"]) > > InputBox(uid: "Last", clocator: [tag: "input", type: "text", name: > > "sc385"]) > > InputBox(uid: "Email", clocator: [tag: "input", type: "text", name: > > "sc388"]) > > > > UrlLink(uid: "Ok", clocator: [id: "sc380"]) > > UrlLink(uid: "Cancel", clocator: [id: "sc381"]) > > } > > > > I added mouseDown(uid) and mouseUp(uid) method to base UI object. As a > > result, if you use Tellurium 0.8.0-snapshot, you can > > use the following command: > > > > type "SignUp.First", first > > type "SignUp.Last", last > > type "SignUp.Email", email > > mouseDown "SignUp.Ok" > > mouseUp "SignUp.Ok" > > waitForPageToLoad 30000 > > > > Please let us know if this works for you. > > > > Thanks, > > > > Jian > > > > On Tue, Jul 13, 2010 at 9:48 AM, Jian Fang <[email protected]> > wrote: > >> > >> Hi, > >> > >> Please post your questions to tellurium user group so that more people > can > >> response to your problem. > >> > >> I need you to provide us more details, for example, your UI module > >> definition and test code. Please indicate > >> which line of code does not work. > >> > >> Thanks, > >> > >> Jian > >> > >> On Tue, Jul 13, 2010 at 7:41 AM, kondalarao <[email protected]> wrote: > >>> > >>> Hi Jian, > >>> I am trying to automate the sproutcore web application(The Sproutcore > is > >>> HTML5 framework, used to develop cloud applications) using Tellurium. > >>> But the button "click" are not working in sproutcore for sellenium and > >>> Tellurium. The URL of sample sproutcore application > >>> is: http://demo.sproutcore.com/signup/ > >>> We are able to automate the same application using sellium. Instead of > >>> "Click" we used below code in selenium. But same is not working in > Tellurium > >>> selenium.mouseDown("//Xpath......."); > >>> selenium.mouseUp("//Xpath......."); > >>> Could you please help on this this issue? > >>> Thank you, > >>> Kondalarao G > > > > -- > > 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]<tellurium-users%[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]<tellurium-users%[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.
