Content validation dialog box
This dialog box is displayed when you click the HTML Capture button in Spy window. It generates the HTML descriptor and proper Capture function within WinTask script in order to capture a text displayed in a Web page.
"Descriptor" field gives the HTML descriptor of the HTML element pointed with the mouse in the Web page. It is used for finding the HTML element to capture at script replay.
"Proposed content" field displays the CONTENT part of HTML descriptor as proposed by Spy tool.
"Captured text" field displays the text which will be captured at script replay ; it is the inner text of the HTML element.
If you think that the proposed content is not a good one for a reliable script replay, you can change it by typing a new content in "Change proposed content" field. Click Validate button and a check is done to verify that the content is present in "Captured text" field.
Click OK button, if HTML tag is not TABLE, and if WinTask Editor is loaded, two statements are inserted automatically in the script, a UsePage statement for specifying in which Web page the capture must be done and a CaptureHTML statement for retrieving the inner text of the specified HTML element, for instance :
UsePage("Automate your routine tasks using Wintask and forget batch, macro recorder and scheduler softwares")
ret = CaptureHTML("P[CONTENT='Automate']", var$)If HTML tag is TABLE and you click OK button, the Table range dialog box is displayed. This new dialog box allows you to select the range of cells you want to capture and to generate a CaptureTableHTML statement.
Click Cancel button to cancel Content validation and come back to Spy main window.