FileDialog
Last updated
Was this helpful?
Last updated
Was this helpful?
A class for a windows FileDialog to open or save files.
Namespace: Progile.TRIO.EnvironmentModel Assembly: Progile.TRIO.EnvironmentModel.Windows (in Progile.TRIO.EnvironmentModel.Windows.dll)
Progile.TRIO.EnvironmentModel.FileWindow
Syntax:
Parameter
Description
t
The tester interface.
systemHelper
An instance of the ISystemHelpers interface that allows interaction with the SUT operating system.
Name
Description
Cancels the file dialog.
Opens the selected file or the file from the input path. Returns true if successful, false if a warning is shown. Warning will be confirmed, fileDialog will stay open.
Saves to the selected file or the file from the input path. Returns true if successful, false if a warning is shown. Warning will be confirmed, fileDialog will stay open.
Sets the file name and/or path to the parameter fileNameWithPath
Name
Description
The text box to enter the file name (in currently shown folder) or full file path (for any other folder).
The dropown below the FileName to select the file type as which the file shall be saved. Note: Currently not supported for Win7 and Win8.
The text box to enter the path for the folder to be shown. Note: Currently not supported for Win7. Use FileName instead.
A label referring to any warning dialog that might be shown after saving or opening.
Type:
Type:
The button to cancel the FileDialog (see also: method).
The button to open the selected file or the file from the input path (see also: method).
The button to save to the file set in the FileName TextBox (see also: method).