From: asashour <asa...@ya...> - 2014-02-05 00:39:48
|
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. |