Letractively / aost

Automatically exported from code.google.com/p/aost
Other
1 stars 0 forks source link

tellurium IDE missed uid in script #471

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

/**
 *  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.TextBox(uid: "SearchBody", clocator: [tag: "div", class: "pBody", id: "searchBody"])

        ui.Container(uid: "Mwsearchresults", clocator: [tag: "ul", class: "mw-search-results"]){
                UrlLink(uid: "JewelryTelevision", clocator: [tag: "a", text: "Jewelry Television Neptune Technology Stack", title: "Jewelry Television Neptune Technology Stack"])
            }

        connectSeleniumServer()
        connectUrl "http://wiki/index.php/JT_Neptune_Technology_Stack#ORM"
        type "neptune"
        click
        waitForPageToLoad 30000

        click "Mwsearchresults.JewelryTelevision"
        waitForPageToLoad 30000

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 25 Aug 2010 at 7:41

GoogleCodeExporter commented 8 years ago
        ui.Form(uid: "Form", clocator: [tag: "form", method: "GET", action: "list"]){
                SubmitButton(uid: "Search2", clocator: [tag: "input", direct: "true", type: "submit", value: "Search"])
            }

        ui.Container(uid: "Qq", clocator: [tag: "span", id: "qq"]){
                InputBox(uid: "Searchq23", clocator: [tag: "input", direct: "true", type: "text", value: "test", name: "q", id: "searchq"])
            }

        open "http://code.google.com/p/aost/downloads/list"
        click "Form.Search2"
        waitForPageToLoad 30000

        click "Qq.Searchq23"
        click

Original comment by John.Jian.Fang@gmail.com on 29 Nov 2010 at 9:36

GoogleCodeExporter commented 8 years ago
The problem is that the dom elements do not share the same ancestor, thus, 
could not be put into one UI module. The latest snapshot supports multiple ui 
module generation and thus, solves this problem.

Original comment by John.Jian.Fang@gmail.com on 7 Dec 2010 at 6:48