Micro Focus QTP (UFT) Forums
Descriptive Programming - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Descriptive Programming (/Thread-Descriptive-Programming)



Descriptive Programming - Rajesh - 01-25-2008

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.


RE: Descriptive Programming - rajaselvan.d - 01-30-2008

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.


RE: Descriptive Programming - Rajesh - 01-30-2008

Thanks man.....


RE: Descriptive Programming - rajendrakumar.cb@gmail.com - 01-31-2008

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.


RE: Descriptive Programming - siri - 02-27-2008

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