Showing posts with label vb script-qtp. Show all posts
Showing posts with label vb script-qtp. Show all posts

QTP Script To Get Abbreviated Name of Current Month-VB Script To Get Abbreviated Name of Current Month

QTP Script To Get Abbreviated Name of Current Month



Dim a
a=MonthName(Month(Date),True)
MsgBox(a)

Output-Aug

QTP Script to Get Created Date and Time of a folder-vb script to get Created Date and Time of a folder

QTP Script to get folder created time


Dim a,b,c

Set a = CreateObject("Scripting.FileSystemObject")

Set b = a.GetFolder("C:\QTP")

c= "Folder was Created on: " & b.DateCreated

MsgBox(c)


above script displays created date and time of qtp folder,which is in C Drive.

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge