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


Please Help Members By Posting Answers For Below Questions

does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2721


How will you check that a variable is an array in vbscript?

768


Explain the tristate constants in vbscript?

800


how to check whether link is disabled in QTP??

5849


What is the purpose of on error resume next statement?

775


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

845


Description.Create

2382


how to increasing the numbers in a given text box please write a vb script

1991


What is the difference between vb debugger and the script debugger?

829


when we use filter funtiom invb script(QTP)

2508


How will you convert a string to upper case string using vbscript?

771


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

2244


How should i Create Email invite with server-side Coding?

1829


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2784


What is difference between vbscript and vba?

875