Николай,
я думаю не только меня но и многих моих коллег интересует вопрос
тестирования java апплетов. Есть ли у селениума возможность общения с
ними. В частности "вырывания" данных, ввод, клики и.т.д. Буду очень
признателен за любую информацию по данному поводу.
This is probably not the best place to answer the question of how
Selenium can test Java applets. (Selenium forms at openqa.org would be
better.) However, the short answer is: it's up to the applet author to
make the applet testable. Remember, Selenium is written in JavaScript
running in the browser. The applet author would need to expose methods
in the applet to be callable by JavaScript. Once, exposed, Selenium
would then be able to call those methods and test it. Search for
"JavaScript-to-Java [bridge|communication]" for more information.
http://googletesting.blogspot.com/2007/09/seleniums-inventor.html
Т.е. если сделал в апплете методы, доступные из Javascript - можно
пользоваться из Selenium. Элегантность этого подхода, на мой взгляд,
под вопросом - но пользоваться можно.
2009/9/23 Бакаев Дмитрий <bakaev....@gmail.com>:
> я думаю не только меня но и многих моих коллег интересует вопрос
> тестирования java апплетов. Есть ли у селениума возможность общения с
> ними. В частности "вырывания" данных, ввод, клики и.т.д. Буду очень
> признателен за любую информацию по данному поводу.
--
С уважением, Алексей Тигарев
<ti...@nlp.od.ua> Jabber: ti...@jabber.od.ua http://t_gra.livejournal.com/
On 14 окт, 14:06, Alimenkou Nikolay <lumii.subscri...@gmail.com>
wrote: