OpenTAP SDK provides two attributes for opening a file explorer window and allowing for the selection of either a file or a directory. Those are [FilePath]
and [DirectoryPath]
attributes.
Examples of using these can be found in <TAP_Install_Directory>\Packages\SDK\Examples\PluginDevelopment\TestSteps\Attributes\PathAttributeExample.cs