Try to use Tellurium diagnose method to see what you get back for the
missing UI.

http://code.google.com/p/aost/wiki/TelluriumPowerUtilityDiagnose

Please also post your error message here.

Thanks,

Jian

On Wed, Oct 21, 2009 at 3:17 PM, tellurium fan <[email protected]> wrote:

>
> Hi,
>     I'm new to Tellurium.  I'm trying to build a simple test on my
> own and i get error.  Help is appreciated.
>
> Here is how I define my objects and a simple function,
>
>        public void defineUi() {
>                ui.Container(uid: "main", clocator: [tag: "div", class:
> "modulePad"])
> {
>                        Form(uid: "loginForm", clocator: [tag: "form",
> action: "/servlet/
> security_check", id: "loginForm", method: "POST"]){
>                                InputBox(uid: "username", clocator: [tag:
> "input", direct: "true",
> type: "text", id: "username", name: "username"])
>                                InputBox(uid: "password", clocator: [tag:
> "input", direct: "true",
> type: "password", name: "password"])
>                        }
>                }
>        }
>
>        public void login(String username, String pwd) {
>                isElementPresent "main"
>                isElementPresent "main.loginForm"
>                isElementPresent "main.loginForm.username"
>
>                type "main.loginForm.username", username
>                type "main.loginForm.password", pwd
>
>        }
>
> thanks
>
> >
>

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