How to Map network drive in QTP
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sonali
'This will work
Dim WshNetwork
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "E:", "\\Server\Public"
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nani
To map network drive in qtp use the following syntax:
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "E:", "\\Server\Public"
| Is This Answer Correct ? | 0 Yes | 1 No |
How many types of recording modes in qtp?
When to use Descriptive programing?
write a script to close all open browser in qtp except one browser whose name is xyz
How can we record an edit box in the Web application ?
how do u handle an object without name using QTP 9.2?
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How can I replace all the text from the QTP script with some other text.
Hi guys can any plz help me how to send fax in sample Flight Appication
Associated files in QTP?
what is objectidentification?
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance