Tellurium IDE build #21 added return variable and assertion support.

http://maven.kungfuters.org/content/repositories/snapshots/org/telluriumsource/tellurium-ide/0.8.0-SNAPSHOT/tellurium-ide-0.8.0-20100813.163152-21.xpi

For example, the following two lines are from the code generated by
Tellurium IDE:

        def x = getValue("Form.Searchq")
        assertEquals x, "test"

/**
 *    This Groovy DSL script is automatically generated by Tellurium IDE
0.8.0.
 *
 *    To run the script, you need Tellurium rundsl.groovy script.
 *    The detailed guide is available at:
 *
http://code.google.com/p/aost/wiki/UserGuide070TelluriumBasics#Run_DSL_Script
 *
 *    For any problems, please report to Tellurium User Group at:
 *        http://groups.google.com/group/tellurium-users
 *
 */

        ui.Form(uid: "Form", clocator: [tag: "form", method: "GET", action:
"list"]){
                Selector(uid: "Can", clocator: [tag: "select", direct:
"true", name: "can", id: "can"])
                InputBox(uid: "Searchq", clocator: [tag: "input", type:
"text", name: "q", id: "searchq"])
                SubmitButton(uid: "Search", clocator: [tag: "input", direct:
"true", type: "submit", value: "Search"])
            }

        ui.Container(uid: "Mt", clocator: [tag: "table", id: "mt"]){
                UrlLink(uid: "Issues", clocator: [tag: "a", text: "Issues"])
                UrlLink(uid: "RegexpProjectsHome", clocator: [tag: "a",
text: "regexp:Project\\sHome"])
                UrlLink(uid: "Downloads", clocator: [tag: "a", text:
"Downloads"])
                UrlLink(uid: "Wiki", clocator: [tag: "a", text: "Wiki"])
                UrlLink(uid: "Source", clocator: [tag: "a", text: "Source"])
                UrlLink(uid: "Administer", clocator: [tag: "a", text:
"Administer"])
            }

        connectSeleniumServer()
        open "http://code.google.com/p/aost/downloads/list";
        selectByLabel "Form.Can", "regexp:\\sCurrent downloads"
        selectByLabel "Form.Can", "regexp:\\sFeatured downloads"
        type "Form.Searchq", "test"
        def x = getValue("Form.Searchq")
        assertEquals x, "test"

        click "Mt.Issues"
        waitForPageToLoad 30000

-- 
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.

Reply via email to