Validate a URL (tick_24Pro, tick_24Std, tick_24Lite)

All editions allow you to open and check URLs. To do this, the document must first be opened from the web and the source must be visible in the editor. You can do this by choosing File->Open from the Web. You will need an active network connection when opening documents from other computers or from the Internet.

A progress dialog will appear with commands sent to the server, headers received, cookie information, and more. This may be useful for debugging. (New v9.00)

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).

 

Open From the Web Dialog

Open From the Web Progress Dialog

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. 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), then specifying a particular agent should not matter. Some example agents are below:

Firefox 1.5: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

Firefox 3.0.1 on Vista 64-bit: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Firefox 10.0.2 on Windows 8 64-bit: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

Google Chrome 17.0 on Window 7 64-bit: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11

Internet Explorer 6: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Internet Explorer 7 on Vista 64-bit: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0)

Internet Explorer 9 on Windows 7: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)

Internet Explorer 10 on Windows 8 (Metro UI): Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)

Opera 9.62: Opera/9.62 (Windows NT 5.1; U; de) Presto/2.1.1

Opera 11.60 on Windows 7 64-bit: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.60

Helpful external link: Understanding User-Agent Strings

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. Some example 'Accept-Language' header values are below: (New v9.02)

de = German

en = English

en-gb = English (United Kingdom)

en-us = English (United States)

en-us, en = English (United States) then English

es = Spanish

Username & Password Options - If authentication is required, set the username and password to use when requesting the URL. Both HTTP and NTLM authentication are supported.

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)

Open From Web Options Menu

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

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

(tick_16Pro, tick_16Std, cross_16Lite) 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.