Upload File
Description
This Activity uploads the specified file to the web.
Properties
Input
- Path Parameters – Holds the XPath collection of the selected UI element (file input control present in the webpage) identified through Element Selector.
- File Path – The absolute path of the file to upload into the given file control of a web page.
- Web Page – It specifies the webpage object of the currently opened web page.
Misc
- DisplayName – Add a display name to your Activity.
- Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note
It does not catch an error if this Activity is present inside the Try-Catch block and the value of this property is True.
- Timeout—An argument of type TimeSpan defines the duration of the Activity before an error occurs and the workflow terminates. By default, the timeout is 10 minutes.
Output
- Result – If the file upload is successful, display the result as True; otherwise, it will be false.
Example
Download Example
