Bugzilla:QA: Difference between revisions

629 bytes removed ,  21 September 2015
bzr has been replaced by git
m (The QA mailing-list no longer exists)
(bzr has been replaced by git)
Line 8: Line 8:


== Running Selenium scripts ==
== Running Selenium scripts ==
Prior to Bugzilla 3.2, Selenium tests were all written in HTML and executed from a web browser. As of Bugzilla 3.2 RC1 they have been converted to Perl, allowing more flexibility and control.
A read-only copy of the current Selenium scripts can be downloaded using git:
git clone https://git.mozilla.org/bugzilla/qa.git


A read-only copy of the current Selenium scripts can be downloaded using bzr with:
A read/write copy can also be downloaded:
  bzr co bzr://bzr.mozilla.org/bugzilla/qa/4.0
  git clone ssh://gitolite3@git.mozilla.org/bugzilla/qa.git


A read/write copy can also be downloaded with:
A script named <em>config/generate_test_data.pl</em> will automatically populate new installations, allowing the Selenium and WebService tests to be executed.
bzr co bzr+ssh://''login''@bzr.mozilla.org/bugzilla/qa/4.0
where ''login'' is your LDAP account. All available releases are listed [http://bzr.mozilla.org/bugzilla/qa/ here].
 
'''Note:''' The HTML scripts available in 3.0 and below won't work as is. They were based on a particular landfill installation which contained specific user accounts, products, components and parameters.  Thus, they will not run on a fresh test installation. They have been removed from 3.2.
 
As of Bugzilla 3.2, a script named <em>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 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.
Confirmed users
683

edits