How do I control which browser opens RFT test logs?
I'm trying to view HTML formatted test logs from Rational Functional Tester (RFT) 8.2.2.
From the RFT Help, it appears that these logs are supposed to open using the default browser of my workstation, but regardless of which browser I have selected as the default (IE, Firefox, or Chrome) it ALWAYS opens these logs using Chrome.
How do I control which browser opens RFT test logs?
2 answers
The browser that will open is that which is associated to html file type in the OS.
To change default RFT log viewing browser, type the following on in a command window:
ftype htmlfile="C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
assoc .html=htmlfile
or:
ftype htmlfile="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
assoc .html=htmlfile
(Sorry, I don't have the commands to bring it back to Chrome, though).
To see dojo logs in Firefox:
Type the URL: about:config
Create a new integer key (if not there already): security.fileuri.origin_policy, value:3
Set key security.fileuri.strict_origin_policy to false
Hope this helps.
Éric
To change default RFT log viewing browser, type the following on in a command window:
ftype htmlfile="C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
assoc .html=htmlfile
or:
ftype htmlfile="C:\Program Files\Internet Explorer\IEXPLORE.EXE" -nohome
assoc .html=htmlfile
(Sorry, I don't have the commands to bring it back to Chrome, though).
To see dojo logs in Firefox:
Type the URL: about:config
Create a new integer key (if not there already): security.fileuri.origin_policy, value:3
Set key security.fileuri.strict_origin_policy to false
Hope this helps.
Éric