Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Structure in QTP
#2
Solved: 10 Years, 9 Months, 1 Week ago
Hi,

1) I guess its like the way QTP store the scripts and other resources. [as far as i know Smile]
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~
Reply


Messages In This Thread
File Structure in QTP - by alca - 07-27-2012, 09:00 PM
RE: File Structure in QTP - by Victor~ - 08-20-2012, 08:42 PM
RE: File Structure in QTP - by vinod123 - 08-21-2012, 04:52 PM
RE: File Structure in QTP - by Victor~ - 08-21-2012, 06:41 PM
RE: File Structure in QTP - by arescool - 10-17-2012, 02:59 PM
RE: File Structure in QTP - by qtptester66523 - 05-18-2015, 09:12 PM
RE: File Structure in QTP - by smitapawar610 - 11-29-2018, 11:29 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)