08-20-2012, 08:42 PM
Hi,
1) I guess its like the way QTP store the scripts and other resources. [as far as i know ]
2) File structure is used to retrieve the data/document from the file.
3) For example if u have to work with excel application,
you have to know the DOM/ file system of the Excel application.
first u need to create the object for the application then u have to navigate from workbook and worksheet to get the data from the particular cell.
this will retrieve the the value from the first cell of the 1 sheet of the excel file.
4) File system is nothing but the way to store the data in file it varies with the application and the operation system.
and the folder structure is the hierarchic of the folders.
Correct me if i am wrong.
Victor~
1) I guess its like the way QTP store the scripts and other resources. [as far as i know ]
2) File structure is used to retrieve the data/document from the file.
3) For example if u have to work with excel application,
you have to know the DOM/ file system of the Excel application.
first u need to create the object for the application then u have to navigate from workbook and worksheet to get the data from the particular cell.
Code:
set xl = createObject(Excel.Appliction)
set wbook = xl.workbooks.Open ("<file path>","permission")
set wsheet = wbook.wsheet(1)
val = wsheet.cells(1,1).value
this will retrieve the the value from the first cell of the 1 sheet of the excel file.
4) File system is nothing but the way to store the data in file it varies with the application and the operation system.
and the folder structure is the hierarchic of the folders.
Correct me if i am wrong.
Victor~