How to copy from one script to another script in qtp
Answer Posted / avishek
Set fso=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"
set fso = nothing
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What methods are used to create text files and open text files in the vbscript language?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
How will you convert a string to upper case string using vbscript?
What is the difference between a dictionary and an array?
Mention what are the rules to name variable in vbscript?
1. How do declare public variable in vb scripts?
Explain the filter expression?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What is event handling in vbscript?
what is the use of QCUtil? explain with one example?
What are subprocedures in vbscript?
When does ‘on click of button’ event gets triggered in the vbscript language?
what types of bugs will we find out in banking projects for automation testing?
What are the rules to name variable in vbscript?