New tellurium jar file is uploaded to

http://groups.google.com/group/tellurium-users/web/tellurium-0.6.0.jar

On Feb 14, 7:54 pm, [email protected] wrote:
> I fixed a bug and created a test case in the reference project
> tellurium-junit-java.
> Please see the following UI module,
>
> public class GoogleModule extends DslContext {
>
>   public void defineUi() {
>     ui.Container(uid: "Google", clocator: [tag: "table"]) {
>       InputBox(uid: "Input", clocator: [tag: "input", title: "Google
> Search", name: "q"])
>       SubmitButton(uid: "Search", clocator: [tag: "input", type:
> "submit", value: "Google Search", name: "btnG"])
>       SubmitButton(uid: "Lucky", clocator: [tag: "input", type:
> "submit", value: "I'm Feeling Lucky", name: "btnI"])
>     }
>   }
>
>   public void dragAndDrop() {
>     dragAndDrop "Google.Lucky", "+70,-300"
>     pause 500
>   }
>
>   public void dragAndDropTo() {
>     dragAndDropTo "Google.Search", "Google.Lucky"
>     pause 500
>   }
>
> }
>
> and the test case
>
> public class GoogleTestCase extends TelluriumJavaTestCase{
>     private static GoogleModule gm;
>
>     @BeforeClass
>     public static void initUi() {
>         gm = new GoogleModule();
>         gm.defineUi();
>     }
>
>     @Test
>     public void testDragAndDrop(){
>         connectUrl("http://www.google.com";);
>         gm.dragAndDrop();
>     }
>
>     @Test
>     public void testDragAndDropTo(){
>         connectUrl("http://www.google.com";);
>         gm.dragAndDropTo();
>     }
>
> }
>
> The test case works fine except that is no visual effect.

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