Changes

Jump to: navigation, search
Framework Configuration
=Framework Configuration=
#Make sure the [[Firefox_Performance_Testing_:_A_Python_framework_for_Windows_Documentation#Framework_Prerequisites | prerequisites, above, ]] are installed.#Make a directory for the framework:<pre>$mkdir C:\mozilla</pre>#Download entire framework (directories and all subdirectories) onto your local disk (and put zip file here)it in '''C:\mozilla'''#Check/edit To setup the appropriate paths in for the framework, open the '''paths.py''' fileand check if the paths are correct:
*CYGWIN
**Path to cygwin bash to get output from dump() in Firefox
**By default, the Cygwin you just installed is in your C:\ drive
 
*SYNC
**Run sync between Ts runs
**By default, the Cygwin you just installed is in your C:\ drive
 
*BASE_PROFILE_DIR
**Path to the base profile directory used for testing. **Two ways to configure this:# Create C:\extension_perf_testing\base_profile, copy all contents of '''base_profile''' folder in '''C:\project\testing\performance\win32\base_profile''' into C:\extension_perf_testing\base_profile# Configure BASE_PROFILE_DIR to reflect the base_profile path (in this case C:\project\testing\performance\win32\base_profile)
**For the page load test to work, modify the '''hostperm.1''' file, set to allow urls with scheme:file to open in new windows, and the preference to open new windows in a tab should be off.
 
*REPORTS_DIR
**Path to the directory that the generated reports will go into
**Create C:\extension_perf_reports or configure REPORT_DIR path to point to a directory where you want the reports to go into
 
*INIT_URL
**Path to the file url to load when initializing a new profile
 
*TS_URL
**The path to the file url to load for startup test (Ts)
1
edit

Navigation menu