Forum Discussion

DHB's avatar
DHB
Occasional Contributor
14 years ago

Dealing with the standard folder selection dialog

Hello,



is there something similar to "Working With Open File and Save File Dialogs" for the standard folder selection dialog (s. attachment)?



Or is there a common script for the translation from a normal path (local or UNC) to the string used for the item handling methods (ClickItem/SelectItem)?



Thanks,

Dirk

2 Replies


  • Hello Dirk,





    Unfortunately, TestComplete has no such special support for the dialog. I suggest that you split the path to computer and folder names and search for them one by one with the Win32 tree view control using properties of the Win32TreeView object. We can create a full sample for you if you contact us via our Contact Support form.


  • DHB's avatar
    DHB
    Occasional Contributor
    Hello Allen,



    please see Issue# M0076926 or post the code here, available for other community members, too.



    Thank you,

    Dirk