You can escape the special characters. See here: http://code.google.com/p/aost/wiki/UserGuide070AppendixB#How_to_use_jQuery_Selector_with_weird_characters_in_its_ID
Which version of Tellurium IDE are you using? I am suprised to see many lines of "waitForPageToLoad 30000". It is supposed to be fixed in RC2. Also, please post your questions to Tellurium user group at http://groups.google.com/group/tellurium-users Thanks, Jian On Wed, Mar 23, 2011 at 11:02 AM, HariKrishnan <[email protected]>wrote: > * > > package > * com.ibi.idp.test > > * > > import > * org.telluriumsource.dsl.DslContext > > /** > > * This UI module file is automatically generated by *Tellurium* IDE 0.8.0. > > * For any problems, please report to *Tellurium* User Group at: > > * http://groups.google.com/group/tellurium > -users > > * > > * Example: *Google* Search Module > > * > > * ui.Container(*uid*: "*Google*", *clocator*: [tag: "*td*"]){ > > * InputBox(*uid*: "Input", *clocator*: [title: "*Google* Search"] > > * SubmitButton(*uid*: "Search", *clocator*: [name: "btnG", value: "*Google > * Search"] > > * SubmitButton(*uid*: "ImFeelingLucky", *clocator*: [value: "I'm Feeling > Lucky"] > > * } > > * > > * public void doGoogleSearch(String input) { > > * keyType "Google.Input", input > > * click "Google.Search" > > * waitForPageToLoad 30000 > > * } > > * > > */ > > * > > class > * IDP_DQI_Dataset_001_Groovy *extends* DslContext{ > > *public* *void* defineUi() { > > ui.*Container*(uid: > "Mydata", clocator: [tag: "table", *class*: "mydata"]){ > > *InputBox*(uid: > "Uname", clocator: [tag: "input", type: "text", id: "uname", name: "uname"], > respond: ["keyDown"]) > > *InputBox*(uid: > "Pword", clocator: [tag: "input", type: "password", id: "pword", name: > "pword"], respond: ["keyDown"]) > > *UrlLink*(uid: > "ButtonSubmit", clocator: [tag: "a", *class*: "login", id: "ButtonSubmit"]) > > > *Container*(uid: > "Section", clocator: [tag: "tr"]){ > > *Container*(uid: > "Part", clocator: [tag: "td", direct: "true"]){ > > *Image*(uid: > "None", clocator: [tag: "img", *class*: "none"]) > > } > > } > > } > > ui.*Container*(uid: > "MYTABLE", clocator: [tag: "table", *class*: "MYTABLE"], respond: ["click", > "mouseOut", "mouseOver"]){ > > *Div*(uid: > "ThisWill", clocator: [tag: "td", text: "This will create DQI Datasets and > compare DQI Data to generate statistics."]) > > *Container*(uid: > "Section", clocator: [tag: "tr"]){ > > *Container*(uid: > "Part", clocator: [tag: "td", direct: "true"]){ > > *Image*(uid: > "Img", clocator: [tag: "img", direct: "true"]) > > } > > } > > } > > ui.*Container*(uid: > "Tab1", clocator: [tag: "div", id: "tab1", *class*: "tabDefault > tabSelected"], respond: ["click"]){ > > *Div*(uid: > "DQIDatasets", clocator: [tag: "nobr", text: "DQI Datasets", direct: > "true"]) > > } > > ui.*Container*(uid: > "Button", clocator: [tag: "a", *class*: "button"], respond: ["click"]){ > > *Div*(uid: > "CreateDQI", clocator: [tag: "nobr", text: "Create DQI Dataset"]) > > } > > ui.*Container*(uid: > "MainTable", clocator: [tag: "table", *class*: "MainTable"]){ > > *Selector*(uid: > "Template", clocator: [tag: "select", id: "template"]) > > *Div*(uid: > "SaveProfile", clocator: [tag: "nobr", text: "Save DQI Dataset"]) > > *Selector*(uid: > "LstProfiles", clocator: [tag: "select", id: "lstProfiles"]) > > *InputBox*(uid: > "TxtDSName", clocator: [tag: "input", type: "textbox", id: "txtDSName"]) > > *UrlLink*(uid: > "A", clocator: [tag: "a", text: ">>"]) > > } > > ui.*Container*(uid: > "Button1", clocator: [tag: "a", *class*: "button"], respond: ["click"]){ > > *Div*(uid: > "SaveDQI", clocator: [tag: "nobr", text: "Save DQI Dataset"]) > > } > > } > > //Add your methods here > > *public* *void* execFlow1(){ > > type > "Mydata.Uname", "admin" > > type > "Mydata.Pword", "iway" > > click > "Mydata.ButtonSubmit" > > waitForPageToLoad 30000 > > } > > *public* *void* execFlow2(){ > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > waitForPageToLoad 30000 > > click > "MYTABLE.ThisWill" > > waitForPageToLoad 30000 > > } > > *public* *void* execFlow3(){ > > click > "Tab1.DQIDatasets" > > } > > *public* *void* execFlow4(){ > > click > "Button.CreateDQI" > > waitForPageToLoad 30000 > > } > > *public* *void* execFlow5(){ > > addSelectionByLabel > "MainTable.LstProfiles", "Valid_Files1" > > addSelectionByLabel > "MainTable.LstProfiles", "Valid_Files" > > click > "MainTable.A" > > selectByLabel > "MainTable.Template", "Sucess" > > //type "MainTable.TxtDSName", "hi2" > > //click "MainTable.SaveDQI" > > //type "MainTable.TxtDSName", "S2" > > } > > *public* *void* execFlow6(){ > > click > "MainTable.SaveProfile" > > } > > } > > > > > > > > > > > > > > > > > > > > > -- 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.
