Skip to content
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Facebook page opens in new windowFacebook page opens in new windowTwitter page opens in new windowYouTube page opens in new window
qavalidation
QA tools and automation testing techniques
qavalidationqavalidation
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training
Search:
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training

Daily Archives: April 12, 2011

You are here:
  1. Home
  2. 2011
  3. April
  4. 12

How to get the creation date & time of a particular file

QTP_VBScriptingBy AdminApril 12, 2011Leave a comment

Set f1 = CreateObject(“Scripting.FileSystemObject”) Set f2 = f1.GetFile(“D:QTP_TESTtest.docx”) S = “File was Created on: “&f2.DateCreated Msgbox S

How to list name of subfolders of a folder

QTP_VBScriptingBy AdminApril 12, 2011Leave a comment

Let’s assume, we have D:PFolder where 3 subfolders present named as sun1, sun2 & sun3 We will use FileSystemObject as class name to deal with folders. Set a = CreateObject(“Scripting.FileSystemObject”) Set b = a.GetFolder(“D:QTP_TEST”) Set c = b.SubFolders For Each d in c e=e&d.name&vbnewline Next msgbox e

All rights reserved | qavalidation
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Go to Top