Enable web browsers
You must enable your web browsers before you can use Functional Tester to test HTML applications. The first time you run Functional Tester, it automatically enables Internet Explorer. If you have Firefox enable them using the Enable button, as described below. If you add a new browser, or Functional Tester fails to find a browser, run the enabler.
Before you begin
- To enable the browsers for testing on Windows 7, log in as an administrator or start Rational Functional Tester by choosing the option to Run as Administrator.
To run the HTML Enabler:
Procedure
- Click Configure > Enable Environments for Testing any time from Functional Tester to invoke the Enable Environments dialog box (the enabler).
- Click the Web Browsers tab.
- Click Search. The Search for Web Browsers dialog box opens.
- Search the browser using any of the following search method:
- Select Search All to let the enabler locate all the browsers on your system. Functional Tester will scan all of your hard drives or partitions, and list the browsers in the Web Browsers list.
- Select Search In to browse to a specific drive or root directory to search.
You should not use the Search All option to find browsers on Linux or UNIX® systems. Instead use the Search In option and browse for it.
- Click the Search button.
- Select the browsers you want to enable by clicking on them in the Web Browsers list. You can select multiple browsers by using the Ctrl key while selecting. Click the Select All button if you want to enable all of them.
- Click Enable. The selected browser(s) will be enabled for HTML testing. The enabled browsers will be indicated in parentheses after each browser name in the list.
- Select a browser to be the default, and click the Set as Default button.
- Click Close.
Results
Notes:
- If the enabler fails to find a browser in the registry or on your system, you can click the Add button. This brings up the Add Browser dialog box, which you can use to locate the browser. After you select it and click Add, the browser will then be added to the Web Browsers list in the enabler, and you follow the same steps above to enable or disable it. If you try to add a file that is not a browser, you will get an error and it won't be added to the list.
- If your browser is not enabled, the Recording Monitor is blank when you try to record against an HTML application. We recommend leaving the Recording Monitor in view while recording for this reason. If you see this symptom, you need to run the enabler.
- To test applets in HTML, you need to enable your JREs. To enable JREs for Java testing, see the Enabling Java Environments topic.
- The first time you run Functional Tester, it automatically enables the JVM of your browser's Java plug-in so that HTML recording works properly. If you install a different JVM, rerun the enabler to enable it. However, if you experience an error regarding the Java plug-in during HTML testing, or when trying to launch the Verification Point Comparator from the HTML log, you need to make sure your plug-in is configured properly. See Enabling the Java Plug-in of a Browser topic for instructions.
- You can test that your browser is enabled properly by clicking the Test button. This opens the Browser Enablement Diagnostic Tool. If you suspect your browser is not enabled properly, run this tool and follow the instructions it gives to solve the problem.
- If you are using Firefox, you need to enable that browser using the Enable button as described above. When you select one of them and click Enable, it will launch the browser and you will be prompted to click in the browser to enable it. Click the link, and then click OK if you get a message box.
Related concepts
Browser enablement diagnostic tool
Related tasks
Browser enablement diagnostic tool
Enable the Java plug-in of a browser
Configure browsers for testing
Recording cross-browser and cross-platform scripts
Configure applications for testing
Run a script from Functional Tester
Related reference