Showing posts with label disadvantages. Show all posts
Showing posts with label disadvantages. Show all posts

Saturday, August 13, 2011

Selenium 2 tried released version

Okay. AFAIR I said that selenium 2 was not ready for enterprise testing. That time I used either beta or even alpha version of the webdriver. So today I decided to check out what's been changed since that time and probably to unsay :)
However I still cant do that :) What does prevent me now? First of all there is still lack of multiple-browser support. Internet explorer driver couldn't see the input elements for some reason however other drivers did so I couldn't even log in. Opera driver cant close the browser window on the test shut-down... So the latest build version is pretty much raw yet. Still don't recommend to move your frameworks to WebDriver.

Saturday, February 12, 2011

Curse on record/playback approach

If you test your homepage or the web site of your rock-band you may use record-playback and feel happiness. But once you're moving to something serious you feel only the need to get help, right? :) The obvious disadvantages of record-playback are:

  • The resulting script requires corrections anyway
  • You have to be sure that you have no dynamic locators in your html. Like dynamic IDs.
  • You are restricted in using flow control of your scenario
  • You are restricted in driving your test with the custom data
  • You are restricted in verifying the result of your scenarios
  • You are restricted in embedding your test suites into some more complicated solutions
So what to say. Just learn the programming languages and switch to testing tools' API. That is less comfortable but gives really wide capabilities and flexibility.