How to copy from one script to another script in qtp
Answer Posted / jyoti
Set obj=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How to throw an error in vbscript?
What is difference between vbscript and vba?
When does ‘on click of button’ event gets triggered in the vbscript language?
What is vbscript language used for and which earlier language is it modeled upon?
Explain vbscript in detail?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What is the event handling in vbscript?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
What is the difference between for loop and while loop?
What are the environments supported by vbscript language?
Both Static and dynamic arrays are handled by VB script. Is it true?
why do u choose to go for testing why cant for devoloping
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.