Creating a shared file in a shared folder using QTP
I created a shared folder by taking the name from the DataTable:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
strdata = Datatable.Value("Column name", "Sheet")
fso.CreateFolder "C:\Documents and Settings\schoudar\Desktop\" & strdata
Until then I was successful, but now I want to save the file in this folder and the folder name will change when I donβt. iterations. So I tried with the file CaptureBitmap
:
Browser("Browser").CaptureBitmap "C:\Documents and Settings\Desktop\ & strdata\filename.bmp"
But it doesn't work, so please help me.
-1
source to share