| Sponsored Links: |
Below is the QTP Code to get file creation Date and Time:
Set f1 = CreateObject("Scripting.FileSystemObject")
Set f2 = f1.GetFile("D:\Generic Test Plan.doc")
S = "File was Created on: "&f2.DateCreated
Msgbox S
The Unofficial Guide to QTP 10. QTP10.com is a new and completely free website that offers help in all the versions of HP QTP (including latest version 10). More importantly, it offers free code for users of HP QuickTest Professioal. This site helps you in learning the basics of QTP and descriptive/advanced programming in (QTP) on various environments like - .Net, Infragistics, Web, Windows, etc.



| Sponsored Links: |
Below is the QTP Code to get file creation Date and Time:
Set f1 = CreateObject("Scripting.FileSystemObject")
Set f2 = f1.GetFile("D:\Generic Test Plan.doc")
S = "File was Created on: "&f2.DateCreated
Msgbox S
SPONSORED LINKS: