If you are not going to be testing the red cross UI objects then it should be ok .... from looking at the way you rewrote the UI.. you are not using both the tables... so you could still use the UI model created by TrUMP.
Thanks, Vivek On Aug 7, 6:20 am, John Smith <[email protected]> wrote: > Hi, > > Im trying to automate functional tests in an highly dynamic > application (documentum webtop). > > Using TrUMP I get red crosses all over the place in the customize tab. > > Example for a simple login page, TrUMP gives me: > > Container(uid: "root", clocator: [tag: "table"]){ > Container(uid: "T4tttt", clocator: [tag: "table"]){ > InputBox(uid: "input0", clocator: [tag: "input", type: "text", > class: "defaultTextStyle", title: "Login Name", id: "LoginUsername", > name: "SSOLogin_username_0"], respond: ["keyPress"]) > InputBox(uid: "input1", clocator: [tag: "input", type: > "password", > class: "defaultPasswordStyle", title: "Password", id: "LoginPassword", > name: "SSOLogin_password_0"], respond: ["keyPress"]) > } > Span(uid: "span3", clocator: [tag: "span", text: "Login", class: > "buttonLink"]) > > } > > root and T4tttt have problems, the group feature doesn't help and even > the full static xpath doesn't help. > > I had to rewrite the UI: > > ui.Container(uid: "login_page"){ > InputBox(uid: "login_textfield", locator: > "//inp...@title='Login > Name']") > InputBox(uid: "password_textfield", locator: "//input > [...@title='Password']") > UrlLink(uid: "login_button", locator: > "//a...@id='buttonstyle']") > } > > And it's now working. Anyway is there a way to use the UI feature. > Xpath take way too much time to do. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
