For application testing of web sites is Selenium framework very well suited tool. But as many times so usual it has some difficult parts which costs the tester long time for searching of the satisfactory solution. One of obstacles is working with multilevel menu item selection for switching from one to some other page.

During last sessions testing new JotCache extension on Joomla 2.5.11 was found that solution described in blog article Using Selenium 2.0 with ChromeDriver for testing of Joomla sites was partially unstable sometimes running as desired sometimes the test was waiting and waiting on menu item click position without any further movement to the next test step. The problem was recognized as unsufficient recognition of menu link.

Published in Blog
Wednesday, 31 October 2012 17:41

Speeding-up Joomla tests on Windows7

Performing Selenium web tests on powerfull Win7 computer (16GB RAM, processor i7-2600) all page responses were above 1 sec. Such reponse on Joomla 2.5 or Joomla 3.0 with sparse content is not acceptable result.

Starting with Profiler was found that calling only PHP function 'session_start();' in Joomla 2.5 initialisation
(JFactory::getSession() -> $session = JSession::getInstance($handler, $options))
causes itself approx.1 sec. long processing.

Changing session handler in Joomla Global Configuration from 'Database' to 'Memcache' was entire response time not much changed and 1 sec. lag moved to other part of core Joomla code - to the initial call of
$db = JFactory::getDBO();

Published in Blog

This notes are free continuation of the earlier blog entry Using Selenium 2.0 with ChromeDriver for testing of Joomla sites.

All site tests were performed on Joomla 3.0.0 backend using Isis standard template and frontend with protostar template. Used testing environment was Chrome browser ver. 22, chromedriver ver.22, NetBeans Java SE ver.7.1.2.

Published in Blog

Two years testing Joomla extensions with Selenium 1.0 and Firefox browser with necessary plugins showed positive impressions what concerns application web testing but also some obstacles with problematic stability of whole arrangement. When new Selenium 2.0 was public presented I expected faster coding of test cases, higher stability of test runs and better PHP test environment.
But the reality was something other. For Selenium 2.0 best programming is available in Java (fortunatelly more years used as my main programming language) and all old tests were necessary to transform in new Java coding. Test run stability with Firefox (especially when are used several instances of FF) and Selenium server was low promissing only steady troubles. Then switch to Chrome browser / Chrome Driver was bringing necessary reliability to the testing.

Published in Blog

I am using frequently Selenium web application testing during development of different components and modules for CMS Joomla and Drupal. The best way is to perform testing directly from development IDE and here is excelent possibility to use Selenium module (plugin) inside of NetBeans. Latest versions of NetBeans (6.9, 6.9.1, 6.10.M1) have embedded Selenium Server ver.1.0.1, which can be started along with NB start.

Published in Blog
We have 65 guests and no members online
Copyright © 2015 JotComponents
We have 65 guests and no members online
Copyright © 2017 JotComponents