Changes

Jump to: navigation, search

Bugzilla:QA

1,322 bytes added, 01:39, 5 January 2009
m
Scripts running from a web browser
=== Scripts running from a web browser ===
Till Bugzilla 3.0.x, Selenium tests were all written in HTML. It has been decided for Bugzilla 3.2 RC1 and newer to convert them to Perl, giving us more flexibility and control. We no longer write test scripts in HTML.
 
Both HTML and Perl Selenium scripts can be downloaded using bzr:
bzr co bzr://bzr.bugzilla.org/selenium/
 
This will download Selenium scripts for all branches, including Bugzilla 2.20, 2.22, 3.0, and 3.2. Do not expect HTML scripts to work as is. They were based on a given test installation on landfill having some given user accounts, products, components and parameters, and so they won't run on a fresh test installation. They are only available so that you can see what we did till Bugzilla 3.0. Note that the 3.0 branch has a t/ directory with test scripts related to WebService. As those are pointing to the same test installations as above and so they also won't run as is on a fresh test installation.
 
To avoid this problem, we highly improved the QA process during the Bugzilla 3.2 cycle and decided to write a script which would populate your fresh new installation so that you could also run our Selenium and WebService tests. This script is located in bugzilla32/config/generate_test_data.pl, and requires that you first set parameters in bugzilla32/config/selenium_test.conf correctly. Note that generate_test_data.pl must be run against an existing Bugzilla installation, created by checksetup.pl! Once the DB is populated, you can start the Selenium server and run our scripts located in bugzilla32/t/.
=== Perl Selenium scripts ===
Confirm
683
edits

Navigation menu