GUI: Advanced Web File Upload
Description
The Advanced Web File Upload step uploads files to a web application by locating the target upload element using defined criteria. Step supports uploading any file type (for example, JPEG, JPG, DOCX, and so on) and uploads the specified file to the target location during execution.
Configurations
| No | Field Name | Description |
|---|---|---|
| 1 | Step Name | Specify a unique name for the step. The label identifies the step within the workflow and helps you reference it when debugging or linking steps. |
| 2 | Web Browser Name | Select a web browser from the list. Ensure that the selected browser matches the one specified in the Start Browser step. The field is mandatory. |
| 3 | Criteria | Specify the criteria used to locate the target element on the web from which to upload the file. For the list and description, see Criteria Table. Supports variable or static values. The field is mandatory. |
| 4 | Criteria Value | Select or specify the relevant criteria value for the selected criteria. Supports variable or static values. The field is mandatory. |
| 5 | Element Index (Starts with 0) | Specify the index of the element to locate on the web. Supports variable or static values. The field is mandatory. Note: Specify First to locate the first element, or Last to locate the last element on the web. Default value: 0. |
| 6 | Iframe Indices | Specify the iframe indices value. This ensures the target element is correctly identified within a nested frame structure. You can provide comma-separated values (for example: 0,1,2). Supports variable or static values. |
| 7 | Iframe XPath | Specify the unique XPath used to identify an iframe or frame relative to the top-level window. Iframe XPath is a unique path that identifies the location of an <iframe> or <frame> relative to the top-level window.It uses unique attributes such as id, name, or title when available (for example, iframe[@id='mainFrame']). If these attributes are not available, the frame is identified by its position among sibling frames (for example, iframe[2]).For nested frames, each frame is joined in sequence to form the complete path. Example: if an element is inside iframe[@id='outer'], which contains frame[@name='middle'], and that frame contains iframe[@title='inner'],the generated path is:iframe[@id='outer'];frame[@name='middle'];iframe[@title='inner'].Supports static and variable values. |
| 8 | Frame ID | Specify the ID of the iframe that contains the target element. This ensures the action is performed in the correct iframe when multiple iframes are present on the page. Default value: frameID. |
| 9 | Input File Path | Provide a valid file path to upload the file. Or Click Browse to select and add the file path. Notes: - Supported only for elements of type file (for example, <input type='file'>). - Maximum allowed file size is 40 MB. |