Hi,
> Wired, from the exception seems it complained about the call
>
> org.tellurium.module.communitymember.AddCommunityMemberPage.isElementPresent("communityListPageRoot.2ndContainer.cancel")
>
> and it cannot find the proper method signature.
>
> Your method call looks similar to the above, right?
>
Yes, it does.

In uiModuleB I have method with signature like 'isOnXXXPage()' which in 
turn calls 'isElementPresent' above.

> BTW, what version of Groovy are you using?
I have groovy-all-1.6.0.jar in classpath.


To clarify the problem further, here's my rough test case structure in 
JUnit4:

...
public class TestNavigate extends TelluriumJavaTestCase
{
    private static final UiModuleA moduleA = new UiModuleA();
    private static final UiModuleB moduleB = new UiModuleB();

    @BeforeClass
    public static void beforeClass() throws Exception
    {
        connectUrl(url);

        moduleB.defineUi();

        moduleA.defineUi();
        moduleA.windowMaximize();    
    }

    @Before
    public void beforeTest()
    {
       click <Link to enter module A page>
    }

    @Test
    public void testNavigate() throws Exception
    {
       //Do something in module A page
       ...

       click <Link to enter module B page>

       Assert.assertTrue(moduleB.isOnModuleBPage());      //This is 
where exception occurs
    }
}
...

Regards,

Setya

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