Select Page

Regression testing of SecurityImages 5.0.X

Regression testing of SecurityImages 5.0.X

com_securityimages joomla_1.5open.qa.logo

I’ve done my homework today, in order to insured the
release quality and avoid manual testing of SecurityImages
at every release, I release Selenium testcases so anybody/
any developer can run them against their homepage.

 

Prerequisites

  • Extract this zip file in a new directory (link soon available)
  • Load the test suite (set of tests) named securityimages.testsuite
    seleniumSecurityImages5

  • Take care at the Base URL, in test suite I use http://localhost/T1 put the right base of course, for example http://www.yourhost.com/
    seleniumSecurityImages
  • The user login/password has to be changed to an existing user! 
    seleniumSecurityImages1 
  • SecurityImages has to be put in TEST mode. This is a new setting in administrator panel. This force SecurityImages in this mode to accept only the word “test123” as captcha response and nothing else. This is because I can not read, or find in the test case the word hidden in the picture without a lot of effort.
  • Testsuite is working only for HNcapctha at the moment.
  • You can run all test cases in the suite by clicking on seleniumSecurityImages2 or just one or two with seleniumSecurityImages3 but in that case don’t forget to also always select the test InitializeTestcases.test (use ALT GR)

 

seleniumSecurityImages4Currently only 4 tests are not working, and this because selenium can not submit the contact and register form of Joomla! this has nothing to do with my code.

 

The next step is to put everything in XINC…

Read also

About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.

Categories