Clearing cache, cookies, and history of browsers
To optimize the performance of web browsers that are used to play back Web UI tests, you can clear cache, cookies, and history of browsers.
Before you begin
- You must have closed all the instances of the web browser for which you want to clear cache, cookies, and history.
- For Mac operating system, you must have provided full disk access to the applications
that are used by HCL OneTest™ UI by performing the following steps:
- Click .
- Click Privacy tab and then select Full Disk Access.
- Add the following applications for full disk access:
- Eclipse: /Applications/IBM/SDP/Eclipse
- Java: /Applications/IBM/SDP/jdk/Contents/Home/bin/java and /Applications/IBM/SDP/jdk/Contents/Home/jre/bin/java
About this task
When you want to clear the browser data of any browser, you must use a different browser to
generate reports.
Restriction:
- You cannot clear the browser data of the Internet Explorer browser.
- You cannot clear the browser data in the following scenarios:
- When you run Web UI tests in HCL OneTest™ Server
- When you play back Web UI tests on multiple devices in parallel
- When you play back AFT tests
Procedure
- Go to .
- Click the Desktop tab.
-
Select the Clear Cache and Clear history
check boxes in the Clear browser data section.
Alternatively, you can also select the check boxes from the Run Configuration dialog box by clicking the Configure Web UI Playback Preference link.
You can clear the browser data of the browsers that are installed in the following operating systems:Operating System Supported browsers Windows Mozilla Firefox, Google Chrome, Opera, and Microsoft Edge Linux Mozilla Firefox and Google Chrome Mac Safari , Mozilla Firefox, Google Chrome, Opera, and Microsoft Edge -
Set the user profile based on the browser.
For Google Chrome and Firefox browsers, you must perform the following tasks to set the user profile:
- Enter the following text in the browser URL:
- For Google Chrome, enter Chrome://version
- For Firefox, enter about:support
The browser details are displayed.
- Copy the complete profile path from the Profile Path field, and then enter the profile value in the User Profile field in HCL OneTest™ UI.
- Enter the following text in the browser URL:
- Click Apply and Close.