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 to connect to data base?
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
Is the provision for integrating QTP with QC ,available from the version 9.0 onwards only or even 8.2 version has such provisions?
Differenece betwen Project and product ? when company need project or product?
how can you write a script without using GUI in QTP?
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page
Give the syntax to load function at run time.
What is synchronization? What are the ways you can synchronize?
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?
Diff B/w Webserver and Client Server