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


Please Help Members By Posting Answers For Below Questions

What methods are used to create text files and open text files in the vbscript language?

531


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

1408


Mention what is the main difference between function and sub-procedure?

541


What is the use of option explicit in vbscript?

539


What are the properties of regexp object?

575






What is the use of option explicit statement?

578


What is the purpose of the err object in the vbscript language?

617


Can u describe what kind of testing are for OTC derivates by banks.

1661


Explain the scope of the variables using dim, public, and private keywords respectively.

715


How will you get the exponent of the given number in vbscript?

546


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1782


Explain the adodb.stream class?

542


What are the uses of vb script?

579


How to replace junk code recorded by QTP with a mall function.

1638


what is the difference between modular and data and keyword driven framework

1736