You can check a URL by choosing File->Open from the Web.

After entering the URL to open, a progress window will appear with commands sent to the server, headers received, cookie information, and more. This may be useful for debugging (for example, for debugging a redirect problem).

When the document has been successfully loaded into the editor, it can then be validated as if it were a local document or file.

Note that editing and saving the documents that have been opened with a URL will not change the document sent from the server. You will have to change the original document that is normally located on the web server. Often times this is done by uploading the new document to the web server by using an FTP program (a file transfer program).

Note: This dialog is also used when adding a URL target to the Batch Wizard.


Open From the Web Dialog

Open From the Web Progress Dialog

Text Options

Agent - The 'Agent' sets the 'User-Agent' header that is used to tell the web server what user agent or web browser (and possibly other information like operating system) is requesting the document. It can be used to "trick" the server into thinking a certain agent and OS is being used. Although the practice is highly discouraged, some web servers may return different pages depending on the agent. If this is the case, then specify what agent to use depending on what is being tested. If the web server doesn't care which agent is used (this is common and recommended), then specifying a particular agent should not matter.

Helpful external link: Understanding User-Agent Strings

hmtoggle_plus1Example user agents


POST Data - If you want to use a POST request instead of a GET request, then enter the POST data here (otherwise use '(none)' for no POST data). Enter name=value strings separated by '&' characters and use proper URL encoding. You can also press the edit button to enter one name=value field per line in an editor. When using the editor, do not use URL encoded values because they will be automatically URL encoded. Example: 'username=myname&password=mypassword'. Note: Data is posted using 'application/x-www-form-urlencoded'. (New v15.03)

Lang - This option is used to set the 'Accept-Language' header that is used to tell the web server what language the client prefers/accepts. Some web servers may be configured to return different pages depending on 'Accept-Language'. If this is the case, then specify what 'Accept-Language' value to use depending on what is being tested. If the web server doesn't care which language is accepted/requested (this is common), then the 'Accept-Language' value should not matter. (New v9.02)

hmtoggle_plus1Example 'Accept-Language' header values


Username and Password Options

If authentication is required then set the username and password to use when requesting the URL. Both HTTP and NTLM authentication are supported. The 'Use username and password' checkbox must be checked for these fields to be enabled.

Note: If this dialog has opened because you're trying to add a URL target to the Batch Wizard and need to login to a website by entering a username and password into an HTML form, then you may to use the addTarget() function in a TNPL script.

Checkbox Options

Use username and password - Check this box to enable the username and password fields for HTTP or NTLM authentication.

HTTP/1.1 request - Check this box to make an HTTP/1.1 request, otherwise HTTP/1.0 is used. The default is HTTP/1.1. (New v12.0025)

Options Menu

Close Progress Window When Done - Check this option if you want the progress window to automatically close when the download is complete (unless there is an error or problem). The default is not checked. (New v9.00)

Default to HTTP/1.1 - Check this option to default to an HTTP/1.1 request (the 'HTTP/1.1 request' option will be checked by default). The default is checked.

Enable Cookies - Check this option to enable the sending and receiving of cookies. The default is checked.

Keep Progress Window on Top - Check this option if you want the progress window to stay on top of the main editor window. The default is checked. (New v9.00)

Delete Passwords from Registry - Remove password information from the registry

Edit/View Proxy Options - Open the HTTP Proxy Options Page.

Another way to check URLs and dynamic sites is to use the integrated web browser available in the standard and higher editions. While browsing with the integrated web browser, the source for the document being displayed is shown in an editor tab and can be easily validated. As you navigate through the web, you can also have the source automatically validated after each page is loaded. To do this, make sure that this feature is checked in the Editor Options. Using the integrated editor is a great way to check a website with dynamic pages such as those made by ASP, CFML, or PHP scripts.