selenium - Automated testing web application -
selenium - Automated testing web application -
i looking tool functionally test yii/ node.js web application. first thing looked selenium. app runs on headless ubuntu server setting xvfb , run test painfull , drove me tool. error kept getting is:
xlib: extension "randr" missing on display :0
the other tool casperjs along phantomjs . aside 5 min setting up, wrote few tests , integrated jenkins ci. believe there should more tools one. sense i've earned on short term, i'm afraid on long term i'll nail dead end. give me feedback? going wrong road?
another thing that's crossing mind setup selenium rc , jenkins on windows machine browsers set up. think give tests improve , more accurate perspective.
* able parallel functional tests (interactions) since website socket-driven. selenium handle that?
first off, don't utilize selenium rc if can avoid it, it's officially deprecated in favor of selenium webdriver (also known selenium 2).
about headlessness - webdriver can run on top of htmlunit , phantomjs - both should work right away.
if want run tests on actual browsers, people have been successful in running on headless systems, too, said, it's pain. instead, can run tests remotely on different machines headless server commanding them all.
testing selenium jenkins casperjs
Comments
Post a Comment