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