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 |
Connect to QC using AOM.
Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
How to make arguments optional in a function?
There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ?
Write the vb script for the lowest and highest values of an array?
How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...
how can i replace any text from the qtp script with some anothere text
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
what type automation is fofollowed in the project?
what are pretesting activities