Have you tried to call useClosestMatch(true)
and run your tests? Still errors? On Fri, Oct 14, 2011 at 3:40 AM, Mariya Nikolova <[email protected]> wrote: > Hi Jian, Hi Hari > I am still strugling with executing the code from yestersday. The code what > you send me Hari is not executed. Log is attached. > Also the validation of the form looks like this: > > > UI Module Validation Result for Form > > ------------------------------------------------------- > > Found Exact Match: false > > Found Closest Match: true > > Match Count: 1 > > Match Score: 25 > > > Closest Match Details: > > --- Element Form.Login --> > > Composite Locator: <button id="Login" class="ui-button ui-widget > ui-state-default ui-corner-all ui-state-hover ui-state-focus ui-button-text- > only"/> > > > > --- Element Form.Password --> > > Composite Locator: <input id="pass" type="password"/> > > > > --- Element Form.Username --> > > Composite Locator: <input id="user"/> > > > > > ------------------------------------------------------- > The logs are generated once with useTelluriumEngine(true) and once with > false. Furthermore I added useClosestMatch(true), as the validation was > showing this. > > I will appreciate your help. > > Mariya > > 2011/10/13 Hari <[email protected]> >> >> Hi, >> Try this code , it will be execute >> ui.Container(uid: "Form", clocator: [tag: "form", id: "form"]){ >> InputBox(uid: "Username", clocator: [tag: "input", id: >> "username"]) >> InputBox(uid: "Password", clocator: [tag: "input", type: >> "password", id: "Password"]) >> UrlLink(uid: "Login", clocator: [tag: "button", id: "Login", >> class: "ui-button ui-widget ui-state-default ui-corner-all ui-state-hover >> ui-state-focus ui-button-text-only"]) >> >> } >> public void logon(String username, String password){ >> waitForPageToLoad 50000 >> keyType "Form.Usernamet", username >> pause 500 >> type "Form.Password", password >> pause 500 >> click "Form.Login" >> waitForPageToLoad 5000 >> } >> } >> Regards, >> Hari >> On 13 October 2011 16:37, Mariya Nikolova <[email protected]> wrote: >>> >>> Hi Jian, >>> >>> I wanted to write simple Test Case with Tellurium, Unfortunately I am >>> getting following error: Cannot locate UI module Form. The log is attached. >>> Can you please take a look ? >>> I am getting this error when I useTelluriumEngine (true), id I set it to >>> false I am getting another error, which is cannot finde jQUery element >>> #username. >>> >>> Hier is the code: >>> >>> public void defineUi() { >>> >>> ui.Container(uid: "Form", clocator: [tag: "form", id: "form"]){ >>> InputBox(uid: "Username", clocator: [tag: "input", id: >>> "username"]) >>> InputBox(uid: "Password", clocator: [tag: "input", type: >>> "password", id: "Password"]) >>> Button(uid: "Login", clocator: [tag: "button", id: "Login", >>> class: "ui-button ui-widget ui-state-default ui-corner-all ui-state-hover >>> ui-state-focus ui-button-text-only"]) >>> >>> } >>> public void logon(String username, String password){ >>> waitForPageToLoad 50000 >>> keyType "Form.Usernamet", username >>> pause 500 >>> type "Form.Password", password >>> pause 500 >>> click "Form.Logint" >>> waitForPageToLoad 5000 >>> } >>> } >>> >>> Thank you for your help. >>> >>> Mariya >>> >>> >>> 2011/10/10 Jian Fang <[email protected]> >>>> >>>> Mariya, >>>> >>>> Thank you for your interest in Tellurium. Like many other open source >>>> projects, tellurium totally relies on contributors to work on it >>>> during their free time. Unfortunately, our contributors became >>>> inactive because of job changes or other reasons. We could go further >>>> if we could find new contributors. >>>> >>>> Thanks, >>>> >>>> Jian >>>> >>>> On Mon, Oct 10, 2011 at 2:04 PM, Mariya Nikolova >>>> <[email protected]> wrote: >>>> > Hi Jian, >>>> > >>>> > thank you very much for the fast answer. >>>> > Is there a special reason for the non-activness? Is it planned the >>>> > project >>>> > to go further? >>>> > >>>> > I am evaluating in the moment Tellurium, if it is suitable to use it >>>> > for >>>> > automatic tests of our software. >>>> > >>>> > Thanks >>>> > Mariya >>>> > >>>> > >>>> > 2011/10/10 Jian Fang <[email protected]> >>>> >> >>>> >> Tellurium team is not very active recently and thus, the Firefox >>>> >> plugin Tellurium IDE and trump only support FF 3.x. >>>> >> >>>> >> But the test cases generated by trump or manually should be able to >>>> >> run with FF 6.x if you use the latest Selenium server from our Maven >>>> >> repo. >>>> >> >>>> >> >>>> >> >>>> >> http://maven.kungfuters.org/content/repositories/snapshots/org/seleniumhq/selenium/server/selenium-server/1.0.1-te5-SNAPSHOT/ >>>> >> >>>> >> The custom selenium server has not been updated to FF 7.x yet. >>>> >> >>>> >> Thanks, >>>> >> >>>> >> Jian >>>> >> >>>> >> On Mon, Oct 10, 2011 at 7:36 AM, Mariya Nikolova >>>> >> <[email protected]> >>>> >> wrote: >>>> >> > Hello, >>>> >> > >>>> >> > I am newby to Tellurium and as far as I could understand from the >>>> >> > reference guide to use Tellurium with Firefox I need the version >>>> >> > 2.x >>>> >> > or 3.x. Does only the Firefox plugin require these versions? >>>> >> > Is it possible to run already (manually or with TrUMP) created test >>>> >> > cases in newer browsers? >>>> >> > >>>> >> > Thanks >>>> >> > >>>> >> > -- >>>> >> > 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. >>>> >> >>>> > >>>> > -- >>>> > 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. >>>> >>> >>> -- >>> 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. > > -- > 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.
