write a script to count no drives in file systems in qtp?

Answer Posted / sandeep

Set FSO=CreateObject("scripting.filesystemobject")
Set coll=fso.Drives




MsgBox coll.Count

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1561


Which operator is used to perform the comparison among 2 operands in the vbscript language?

528


What's the difference between vbscript and vb.net?

553


What are the naming conventions while declaring a variable in the vbscript language?

618


Explain the functionality of vbscript?

538






Explain about adodb.stream class?

593


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3554


What is the event handling in vbscript?

563


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

871


What are keywords in the vbscript language?

527


Mention what is select case statement?

548


What is the difference between do until loop and do while loop?

543


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1787


Which operator is used to concatenate the 2 values in the vbscript language?

558


How strcomp function works?

626