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 |
Is it a smart choice to use QTP for backend testing?
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
What is difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?
What is an environment variable?
If enter into interviewer room? how u introduce with him. with shakehand or waht?
in which case & which method we can use "native" property of an object ?
What are the different types of recovery operation?
Can we directly automate testscripts accrdoing to requirements? WHY ?
in howmany ways you perfrom batchtesting
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...
What is the function of Filter in QC . give with a real time example.