MichaelP
14 years agoContributor
sysTreeView32 not recognised in Windows 7
Hello
The following code works fine when the script is run against Vista, but it always fails to recognise sysTreeView32 in Windows 7. I'm not sure how to rectify this. I'm testing remotely on Virtual Machines using Test Execute.
Set sysTreeView32 = Aliases.NXPowerLite.dlgBrowseForFolder.SHBrowseForFolderShellNameSpaceControl.SysTreeView32
If Not sysTreeView32.Exists then
Log.Error("sysTreeView32 is not recognised") 'It will always fail at this point in Windows 7 but its OK in Vista
else
Log.Message("sysTreeView32 is recognised")
End if
Call sysTreeView32.ClickItem("|Desktop")
'Call sysTreeView32.Drag(631, 35, -2, 15)
Call sysTreeView32.ClickItem("|Desktop|AutomatedTests")
Thanks.
Michael
The following code works fine when the script is run against Vista, but it always fails to recognise sysTreeView32 in Windows 7. I'm not sure how to rectify this. I'm testing remotely on Virtual Machines using Test Execute.
Set sysTreeView32 = Aliases.NXPowerLite.dlgBrowseForFolder.SHBrowseForFolderShellNameSpaceControl.SysTreeView32
If Not sysTreeView32.Exists then
Log.Error("sysTreeView32 is not recognised") 'It will always fail at this point in Windows 7 but its OK in Vista
else
Log.Message("sysTreeView32 is recognised")
End if
Call sysTreeView32.ClickItem("|Desktop")
'Call sysTreeView32.Drag(631, 35, -2, 15)
Call sysTreeView32.ClickItem("|Desktop|AutomatedTests")
Thanks.
Michael