Changes

Jump to: navigation, search

Bugzilla:QA

27 bytes removed, 22:49, 29 March 2016
no edit summary
The QA team was created on July 11, 2005, two days after the release of Bugzilla 2.18.3, to improve the quality of future releases. [http://www.bugzilla.org/releases/2.20/ Bugzilla 2.20], which was released two months later, became our most stable version ever released, with many security bugs fixed. This result has been possible partly thanks to the hard work done by the QA team which found several tens of bugs. But all the testing has been done manually, which required both a lot of time and a lot of people (the QA team had less than 10 members) to test the most important features of Bugzilla.
As repeating the same tests manually again and again for each new release quickly became boring, we decided to automate the process as much as possible using [http://seleniumhq.org/ Selenium]. The QA team uses [httphttps://git.mozilla.org/?p=bugzilla/qabugzilla.git ;a=tree;f=xt;hb=HEAD Perl Selenium scripts].
== How to contribute? ==
== Running Selenium scripts ==
A read-only copy of the current Selenium scripts can be downloaded using git:
git clone https://git.mozilla.org/bugzilla/qabugzilla.git
A read/write copy can also be downloaded:
git clone ssh://gitolite3@git.mozilla.org/bugzilla/qabugzilla.git
A script named <em>xt/config/generate_test_data.pl</em> will automatically populate new installations, allowing the Selenium and WebService tests to be executed.
'''Note 1:''' The Bugzilla installation to test must already exist, and must already have its important parameters configured (i.e. ''urlbase'', ''cookiepath'', and ''mail_delivery_method''). It is recommended that ''mail_delivery_method'' be set to '''Test''', unless "actual" bug mail is desired.
'''Note 2:''' Before executing <em>generate_test_data.pl</em>, make sure the parameters in <em>xt/config/selenium_test.conf</em> are set correctly. This configuration file must match the Bugzilla configuration, especially the ''urlbase'' parameter and the path to the browser ([http://seleniumhq.org/download/ Selenium RC 2.0] works with Firefox 5 and IE9). If ''mail_delivery_method'' is set to '''Test''', fake user accounts can be defined in the config file.
Once the DB is populated, start the Selenium server and execute the scripts in txt/selenium. To start the Selenium server, type:
java -jar /path/to/selenium-server-standalone-2.x.x.jar
Confirm
683
edits

Navigation menu