How to Map network drive in QTP

Answer Posted / palanivel

the script written as
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "E:", "\\Server\Public"

returns error as object required

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1505


Can you list some technologies that support qtp?

552


How will you test a stapler?

599


What is QTP’s model for test creation?

683


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1562






How to use conditional loops in qtp ?

590


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1767


is there any addin for remedy user application

1744


How to use reporter.report event in qtp ?

557


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1747


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1418


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

546


Explain the concept of object repository & how qtp recognizes objects?

572


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

989


Have you used xml check point in your project?

556