Micro Focus QTP (UFT) Forums

Full Version: Descriptive Programming
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,

Can anyone say what is the difference and use of the below scripts separately.

Code:
set desc = Description.Create()

Set objFSO = CreateObject("Scripting.FileSystemObject")

I have some idea, but i dont know the clear and exact difference
and purpose.
Hi
set desc = Description.Create() This command used to write descriptive programming. This command is one of the type of descriptive prorammimg (Type is Big Grinynamic)


Set objFSO = CreateObject("Scripting.FileSystemObject") This command is used to read,write,create any files and folder also.
Thanks man.....
the first one is used to create descritpion about the object while using descriptive programming.
while the second one is used to create and assing a reference of an object .

pls correct me if i am wrong.
hi

Code:
set desc = Description.Create()
is used to descripbe the odes or any object
Code:
Set objFSO = CreateObject("Scripting.FileSystemObject")
is used where creation of the object is done