Letractively / aost

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

Improve the Santa algorithm #513

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
        ui.Container(uid: "TabInactive", clocator: [tag: "div", class: "tab inactive"]){
                UrlLink(uid: "Downloads", clocator: [tag: "a", text: "Downloads"])
            }

        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: "Resultstable", clocator: [tag: "table", id: "resultstable", class: "results"]){
                UrlLink(uid: "A", clocator: [tag: "a", text: "

 Test Source files for IDE setup

"])
                Container(uid: "Headingrow", clocator: [tag: "tr", id: "headingrow"]){
                    Container(uid: "Col_0", clocator: [tag: "th", direct: "true", class: "col_0"], respond: ["click"]){
                        UrlLink(uid: "Filename", clocator: [tag: "a", text: "Filename", direct: "true"])
                    }
                    Container(uid: "Summaryheading", clocator: [tag: "th", direct: "true", id: "summaryheading", class: "col_1"], respond: ["click"]){
                        UrlLink(uid: "Summary", clocator: [tag: "a", text: "Summary + Labels", direct: "true"])
                    }
                    Container(uid: "Col_2", clocator: [tag: "th", direct: "true", class: "col_2"], respond: ["click"]){
                        UrlLink(uid: "Uploaded", clocator: [tag: "a", text: "Uploaded", direct: "true"])
                    }
                    Container(uid: "Col_3", clocator: [tag: "th", direct: "true", class: "col_3"], respond: ["click"]){
                        UrlLink(uid: "Size", clocator: [tag: "a", text: "Size", direct: "true"])
                    }
                    Container(uid: "Col_4", clocator: [tag: "th", direct: "true", class: "col_4"], respond: ["click"]){
                        UrlLink(uid: "DownloadCount", clocator: [tag: "a", text: "DownloadCount", direct: "true"])
                    }
                    Container(uid: "Header", clocator: [tag: "th", direct: "true"], respond: ["click"]){
                        UrlLink(uid: "A", clocator: [tag: "a", text: "...", direct: "true", class: "dotdotdot"])
                    }
                }
                Container(uid: "Hover", clocator: [tag: "tr", class: " hover"], respond: ["mouseOut", "mouseOver"]){
                    Container(uid: "Vt", clocator: [tag: "td", direct: "true", class: "vt"]){
                        Image(uid: "Star_img", clocator: [tag: "img", direct: "true", id: "star_img"], respond: ["click"])
                        UrlLink(uid: "Download", clocator: [tag: "a", direct: "true", title: "Download"])
                    }
                }
            }

        open "http://code.google.com/p/aost/"
        click "TabInactive.Downloads"
        waitForPageToLoad 30000

        selectByLabel "Form.Can", "regexp:\sAll downloads"
        type "Form.Searchq", "test"
        click "Form.Search"
        waitForPageToLoad 30000

        click "Resultstable.A"
        waitForPageToLoad 30000

# [error] Cannot locate UI module Form
# [error] Failed to run command [name: selectByLabel, uid: Form.Can, value: 
regexp:\sAll downloads]: message: Cannot locate UI module Form, name: Error, 
filename: chrome://source/content/engine/selenium-mock.js, linenumber: 27. 
JavaScript Error Stack: SeleniumError("Cannot locate UI module 
Form")@chrome://source/content/engine/selenium-mock.js:27 {anonymous}([object 
Object],[object 
XPCNativeWrapper])@chrome://source/content/engine/tellurium-uialg.js:1006 
{anonymous}("Form")@chrome://source/content/engine/tellurium-api.js:157 
{anonymous}("Form.Can")@chrome://source/content/test-runner.js:184 
{anonymous}([object Object])@chrome://source/content/test-runner.js:236 
{anonymous}()@chrome://source/content/test-runner.js:278 TestJob([object 
Object],2)@chrome://source/content/test-runner.js:315
# [error] Cannot locate UI module Form
# [error] Failed to run command [name: type, uid: Form.Searchq, value: test]: 
message: Cannot locate UI module Form, name: Error, filename: 
chrome://source/content/engine/selenium-mock.js, linenumber: 27. JavaScript 
Error Stack: SeleniumError("Cannot locate UI module 
Form")@chrome://source/content/engine/selenium-mock.js:27 {anonymous}([object 
Object],[object 
XPCNativeWrapper])@chrome://source/content/engine/tellurium-uialg.js:1006 
{anonymous}("Form")@chrome://source/content/engine/tellurium-api.js:157 
{anonymous}("Form.Searchq")@chrome://source/content/test-runner.js:187 
{anonymous}([object Object])@chrome://source/content/test-runner.js:236 
{anonymous}()@chrome://source/content/test-runner.js:278 TestJob([object 
Object],0)@chrome://source/content/test-runner.js:315
# [error] Cannot locate UI module Form
# [error] Failed to run command [name: click, uid: Form.Search, value: null]: 
message: Cannot locate UI module Form, name: Error, filename: 
chrome://source/content/engine/selenium-mock.js, linenumber: 27. JavaScript 
Error Stack: SeleniumError("Cannot locate UI module 
Form")@chrome://source/content/engine/selenium-mock.js:27 {anonymous}([object 
Object],[object 
XPCNativeWrapper])@chrome://source/content/engine/tellurium-uialg.js:1006 
{anonymous}("Form")@chrome://source/content/engine/tellurium-api.js:157 
{anonymous}("Form.Search")@chrome://source/content/test-runner.js:187 
{anonymous}([object Object])@chrome://source/content/test-runner.js:236 
{anonymous}()@chrome://source/content/test-runner.js:278 TestJob([object 
Object],0)@chrome://source/content/test-runner.js:315
# [error] Cannot locate UI module Resultstable
# [error] Failed to run command [name: click, uid: Resultstable.A, value: 
null]: message: Cannot locate UI module Resultstable, name: Error, filename: 
chrome://source/content/engine/selenium-mock.js, linenumber: 27. JavaScript 
Error Stack: SeleniumError("Cannot locate UI module 
Resultstable")@chrome://source/content/engine/selenium-mock.js:27 
{anonymous}([object Object],[object 
XPCNativeWrapper])@chrome://source/content/engine/tellurium-uialg.js:1006 
{anonymous}("Resultstable")@chrome://source/content/engine/tellurium-api.js:157 
{anonymous}("Resultstable.A")@chrome://source/content/test-runner.js:184 
{anonymous}([object Object])@chrome://source/content/test-runner.js:236 
{anonymous}()@chrome://source/content/test-runner.js:278 TestJob([object 
Object],5)@chrome://source/content/test-runner.js:315 

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 7 Dec 2010 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by Telluriu...@gmail.com on 8 Dec 2010 at 3:04

GoogleCodeExporter commented 9 years ago
Hello,

was this issue closed?. I am trying to login in my application and I am getting 
the same error. So if this issue is still an open issue, I am not sure if 
Tellurium is good choice.
Can you please tell me the status?

Original comment by hali...@gmail.com on 13 Oct 2011 at 9:27