First, let's look at the simplest explanation,
Web (HTTP/html): emulation of communication between a browser and web server.
Web (Click and script): emulation of the communication between a web browser and the Web server at user-action level.
Literally, the Web (Click and script) is more "at user-action level"
Web (Click and script)
The recording of the Web (Click and script) protocol is a GUI-based script that records the Web conversation between the browser and the server. After you select this protocol, vugen records the intuitive process of your operations on the Web interface. For example, when you click "Submit" to submit information, vugen will generate the web_button function. When you enter it in the edit box, vugen will generate the web_edit_field function.
Web (Click and script) vusers supports non-HTML code, such as client JavaScript. Vugen will create an intuitive script to accurately simulate your operations on the web page. On the contrary, the Web (HTTP/html) protocol does not support Javascript. vugen only uses JavaScript as a resource of the web_url function.
Web (Click and script) vusers can automatically handle most correlations, greatly reducing Script Programming time. Generally, you do not need to define the association rules or manually associate after recording.
For example, when you click the button to submit data, vugen will generate the web_button function. If the button is an image, vugen generates the web_image_submit function. In the following example, the user clicks login.
...
Web_image_submit ("login ",
"Snapshot = t4.inf ",
Description,
"Alt = login ",
"Name = login ",
"Framename = navbar ",
Action,
"Clickcoordinates = 31,6 ",
Last );}
Web (Click and scripts) recording is based on the user's operation process.
Web (Click and scripts) does not support applets and VBScript. If the tested web site contains applets and VBScript, use the web (HTTP/html) protocol.
Web (HTTP/html)
The Web (HTTP/html) protocol is a script based on the browser request response data.
When you select the web (HTTP/html) protocol for recording, vugen records the "http request sent by the browser and server response" data sent over the Internet, the script contains the detailed information of the data requested by your browser, rather than the operation process information.
The Web (HTTP/html) protocol provides two recording methods: HTML-based and URL-based. These two methods allow you to specify the information to be recorded and the functions used by the script. For example, when you click the button (whether it is an image or a button) to submit information, vugen will generate the web_submit_data or web_submit_form function.
Web_submit_data ("START. swe_2 ",
"Action = http: // design/callcenter_enu/start. SWE ",
"Method = post ",
"Reccontenttype = text/html ",
"Referer = http: // design/callcenter_enu/start. SWE ",
"Snapshot = t2.inf ",
"Mode = html ",
Itemdata,
"Name = sweusername", "value = wrun", Enditem,
"Name = swepassword", "value = wrun", Enditem,
"Name = swerememberuser", "value = yes", Enditem,
"Name = sweneedcontext", "value = false", Enditem,
"Name = swefo", "value = sweentryform", Enditem,
"Name = swets", "value = {siebeltimestamp}", Enditem,
"Name = swecmd", "value = executelogin", Enditem,
"Name = swebid", "value =-1", Enditem,
"Name = swec", "value = 0", Enditem,
Last );
However, the Web (HTTP/html) protocol does not support JavaScript, but uses JavaScript as a resource on a web page.
For most applications, including JavaScript applications, the click and script protocol is used. For browser-based applications that use applets and VBScript, or non-browser web applications, use the web (HTTP/html) protocol. The two protocols are mutually exclusive and cannot be selected simultaneously when multiple protocols are selected.