- rajbhuvi
- Posts : 3
Join date : 2010-04-07
calling externalinterface function using falshselenium
Mon Apr 12, 2010 4:53 pm
Hi All,
I tried the colors.html example,which calls the external interface registered using flashselenium.
1. flashApp = new FlashSelenium(selenium, "clickcolors");
2. assertEquals(GREEN, flashApp.call("getColor"));
3. assertEquals("(Click here)", flashApp.call("getSquareLabel"));
4. System.out.println("obj clicked-->"+flashApp.call("click"));
line no 2& 3 are workin fine but in line 4 am getting "object doesn't support this property or method error"
Please help me to resolve the issue.
Many thanks
Rajbhuvi
I tried the colors.html example,which calls the external interface registered using flashselenium.
1. flashApp = new FlashSelenium(selenium, "clickcolors");
2. assertEquals(GREEN, flashApp.call("getColor"));
3. assertEquals("(Click here)", flashApp.call("getSquareLabel"));
4. System.out.println("obj clicked-->"+flashApp.call("click"));
line no 2& 3 are workin fine but in line 4 am getting "object doesn't support this property or method error"
Please help me to resolve the issue.
Many thanks
Rajbhuvi
Permissions in this forum:
You cannot reply to topics in this forum
|
|