Open main menu

CDOT Wiki β

Changes

Configure the paths (paths.py)
==Configure the paths (paths.py)==
To setup the appropriate paths for the framework, open the '''paths.py''' file in '''c:\mozilla\testing\performance\win32\''' and configure the paths:
 
===CYGWIN===
*Path to cygwin bash to get output from dump() in Firefox
*By default, the Cygwin you just installed is in your '''C:\'''
 
===SYNC===
*Run sync between Ts runs
*By default, the Cygwin you just installed is in '''C:\'''
 
===BASE_PROFILE_DIR===
**Set to allow urls with scheme:file to open in new windows
**Set the preference to open new windows in a tab should be off.
 
===REPORTS_DIR===
**Set REPORT_DIR path to a directory where you want the reports to go into. Make sure that directory is created
 
===INIT_URL===
<pre>INIT_URL = 'file:///c:/mozilla/testing/performance/win32/initialize.html'</pre>
*'''Note: Don't change the local file url to a file path'''
 
===TS_URL===
*The path to the file url to load for startup test (Ts)
*Check that '''startup_test.html''' is in '''C:\mozilla\testing\performance\win32\startup_test'''*'''Note: Don't change the local file url to a file path'''
<pre>TS_URL = 'file:///c:/mozilla/testing/performance/win32/startup_test/startup_test.html?begin='</pre>
*'''Note: Don't change the local file url to a file path'''
 
===TP_URL===
*The path to the file url to load for page load test (Tp)
*Check that '''cycler.html''' is in '''C:\mozilla\testing\performance\win32\page_load_test'''
*'''Note: Don't change the local file url to a file path'''
<pre>TP_URL = 'file:///c:/mozilla/testing/performance/win32/page_load_test/cycler.html'</pre>
*'''Note: Don't change the local file url to a file path'''  ==Config file==
In '''C:\mozilla\testing\performance\win32\''', create a YAML config file (config.yaml) with info about the profiles you want to test. Copy and paste the following into config.yaml:
<pre>
1
edit