<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2005, 2010 IBM Corporation and others.

    This program and the accompanying materials
    are made available under the terms of the Eclipse Public License 2.0
    which accompanies this distribution, and is available at
    https://www.eclipse.org/legal/epl-2.0/

    SPDX-License-Identifier: EPL-2.0
   
    Contributors:
         IBM Corporation - initial API and implementation
 -->

<cheatsheet title="A1: Help browser preferences">
   <intro>
      <description>
         Tets for help browser preferences
      </description>
   </intro>
   <item title="Default Browser" dialog="true" skip="false">
      <description>
         Test default browser preferences
      </description>
      <subitem label="Launch &quot;Window&quot;-&gt;&quot;Preferences&quot; (&quot;Eclipse&quot;-&gt;&quot;Preferences&quot; on Mac).  Preferences dialog will open." skip="false">
         <command serialization="org.eclipse.ui.window.preferences" confirm="false">
         </command>
      </subitem>
      <subitem label="Choose &quot;Help&quot; on the left.  This should show help preference page on the right" skip="false">
      </subitem>
      <subitem
            label="Hit &quot;Restore Defaults&quot;">
      </subitem>
      <subitem label="On Windows and Linux help uses an embedded browser by default, and the preference should contain a dropdown to use the help browser or external browser. Leave this set to use the help browser. On MacOS, HP/UX and AIX ensure that this option is omitted since an external browser is always used." skip="false">
      </subitem>
      <subitem label="Hit OK to close the preferences dialog." skip="false">
      </subitem>
      <subitem label="Choose &quot;Help&quot;-&gt;&quot;Help Contents&quot; from the workbench menu, ensure a browser opens and displays Help contents." skip="false">
      </subitem>
   </item>
   <item title="External Browser" dialog="true" skip="false">
      <description>
         Test external browsers
      </description>
      <subitem label="Launch &quot;Window&quot;-&gt;&quot;Preferences&quot; (&quot;Eclipse&quot;-&gt;&quot;Preferences&quot; on Mac)." skip="false">
         <command serialization="org.eclipse.ui.window.preferences" confirm="false">
         </command>
      </subitem>
      <subitem label="Set the dropdown for &quot;Open Help Contents&quot; to  &quot;In an External browser&quot; if on Windows or Linux.  Follow hyperlink to Workbench Browsers preference page.  Choose a browser to use, Click &quot;OK&quot;." skip="false">
      </subitem>
      <subitem label="Choose &quot;Help&quot;-&gt;&quot;Help Contents&quot; from the workbench menu, ensure a browser selected opens and displays Help" skip="false">
      </subitem>
   </item>
   <item title="Other Browsers" dialog="false" skip="false">
      <description>
         Go back to help preferences.  If you have more browser adapters available, try selecting each browser adapter and launch help.
      </description>
   </item>
</cheatsheet>
