Speed up Selenium web-driver tests by disabling images and CSS

Using Selenium Webdriver, we can manipulate and use a web browser programmatically. This is widely used in website testing as once a programmed script is written to run on a website, we can sit back and relax while the script is testing the desired outcomes of the website. Also there are many other use cases. […]

Setting up xdebug with phpstorm

This guide provide a step by step details on how to set up phpstorm IDE to work with xdebug.   Installing on Ubuntu In software search for xdebug and install.   Add to the following xdebug settings to php.ini file  

      Installing on Windows XAMPP First download xdebug and copy it […]

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 […]

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 […]

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 [XDebug] zend_extension = “C:xamppphpextphp_xdebug-2.2.5-5.5-vc11.dll” xdebug.remote_enable=1 xdebug.remote_host=localhost xdebug.remote_port=9000 […]