Xpath vs CSS Selectors

After researching and reviewing on whether to choose XPATH or CSS selector, the following are the points I came across. Some points to CSS Generally CSS is easy to use and readable over XPATH. REF: http://www.seleniumhq.org/docs/appendix_locating_techniques.jsp#starting-to-use-css-instead-of-xpath CSS is native to browsers and XPATH is not REF: http://old.eurostarconferences.com/blog/2013/1/28/liveblogged!-automated-web-testing-traps-for-the-unwary-with-simon-stewart CSS is preferred for testing as it is having more advantages over XPATH REF: http://seleniumeasy.com/selenium-tutorials/css-selectors-tutorial-for-selenium-with-examples Some points to XPATH XPATH can travese up the document from a child element to parents....

December 8, 2014

NUC machines might be the next desktop killer

While it seems like to CPU processing power is coming to a limitation, Intel is focusing on small form factor machines. ...

November 22, 2014

Installing Unlimited Strength Jurisdiction Policy Files for your JRE

Today in work, I had to use AES encryption to basically encrypt and secret text and store it somewhere. This is with Ruby language so I ended up using ‘aes’ gem as it is build on top of OpenSSL and provides simple set of methods that can be used to encrypt and decrypt strings. Following is the Git repository location which also has some guidelines on using the gem. https://github.com/chicks/aes...

November 19, 2014

Setting up xdebug with phpstorm

This guide provide a step by step details on how to set up phpstorm IDE to work with xdebug. First download xdebug and copy it into the extension folder. Copy the full path the extension. Add the following xdebug settings to php.ini file. php.ini file Install easiest xdebug for Firefox and specify the remote IDE key for Firefox <a href=“http://blog-sinaru.rhcloud.com/wp-content/uploads/2014/09/Untitled-picture.png" data-rel=“lightbox-image-0” data-rl_title=”" data-rl_caption="" title=""> Then in the xdebug configuration apply following...

September 16, 2014