From: smk s. <ste...@gm...> - 2014-02-05 09:46:40
|
Ahmed Thank you very much for the update. I just tested the code and works as it expected. Stergios 2014-02-05 asashour <asa...@ya...>: > Hi, > > The last fix was for the class and properties, now it is fine for methods > as > well. > > Please get latest code and hint if you have any issue. > > Ahmed > > > stergios wrote > > I updated the source and now the Java class is initialized as it should > > however I was not able to call any method from the corresponding class. > > > > DEBUG [main] write: Object Loaded! > > <br> > > ERROR [main] runtimeError: message=[Java method "playVideo" was invoked > > with [object HTMLObjectElement] as "this" value that can not be converted > > to Java type WMP.] sourceName=[.......objecttagtesting.html from (4, 9) > to > > (12, 10)] line=[8] lineSource=[null] lineOffset=[0] > > INFO [main] Caught script exception > > > > > > -- > View this message in context: > http://htmlunit.10904.n7.nabble.com/Map-bject-to-custom-JavaClass-tp32980p33061.html > Sent from the HtmlUnit - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |