# How to Convert a HAR file into a ZebraTester Script

You can import HAR Files (HTTP Archives) into ZebraTester by performing the following steps:

1. Open "Project Navigator"
2. Upload the HAR File
3. Click on the HAR File icon
4. Click on "yes" when you are asked to convert the HAR file to a ZebraTester session file (\*.prxdat)
5. Click on the converted ZebraTester session file
6. Click on the "Refresh Display" icon in the Main Menu

#### Summary: <a href="#howtoconvertaharfileintoazebratesterscript-summary" id="howtoconvertaharfileintoazebratesterscript-summary"></a>

An HTTP Archive (\*.har file) can be converted to a ZebraTester session (\*.prxdat file).

Upload a new HAR file into the directory of your choice ad then click on the “Convert HAR to Recorded Session” icon to the right of the file.

### Steps: <a href="#howtoconvertaharfileintoazebratesterscript-steps" id="howtoconvertaharfileintoazebratesterscript-steps"></a>

| <h4 id="howtoconvertaharfileintoazebratesterscript-uploadtheharfile">Upload the HAR File</h4><ul><li>Open "Project Navigator"</li><li>Upload a target HAR File to convert</li><li>Project Navigator will load the file</li><li>Click on the Conversion Icon to the right of the HAR File</li><li>Once you do this, you will get a confirmation to continue or abort the operation. Click on "yes" when you are asked to convert the HAR file to a ZebraTester session file (\*.prxdat)</li></ul> |                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| <h4 id="howtoconvertaharfileintoazebratesterscript-converttheharfile">Convert the HAR File</h4><ul><li>Note the Blue Prompt that this prxdat file has been saved.</li><li>Once the file has been converted to the prxdat (Recorded ZebraTester Session) format, you can then view it in the main window.</li></ul>                                                                                                                                                                               | <p></p><ul><li>Click the Project Navigator icon to the “Load Recorded Session”</li></ul> |
| <h4 id="howtoconvertaharfileintoazebratesterscript-viewtheconvertedharfile">View the Converted HAR File</h4><ul><li>Switch to the Main Menu</li><li>If needed, click the "Refresh Display" icon to view the converted HAR/recorded session.</li></ul>                                                                                                                                                                                                                                            |                                                                                          |
