How to copy from one script to another script in qtp
Answers were Sorted based on User's Feedback
Answer / jyoti
Set obj=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / bfakruddin
I did get your answer friends.....
I think he asked about script not file...
if script is available in vbs file we can copy using FSO
if script is available in QTP Expert view how would you
copy..?
think...?
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / vasanth
First you need to know where your scripts are store by QTP?
Each script is stored as MTS file in action folder
When you open your test script folder in explorer you will
see Action0,Action1....your scrips can be found in Action1
onwards.
now you can modify your scripts as you want. :)
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..
What is the use of the recordset object and which statement is used to create such an object?
write a vb script to display the size of the folder,date created and name of the folder
What is the output of a + b in vbscript if a = 5 and b = 10?
Explain vbscript in detail?
how to find number of characters(letter a) in the sentence Rain Rain Go away
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
What is sql loader? Explain the files used by sql loader to load file?
How many types of procedures are available in the vbscript language?
What is the difference between VBScript and JavaScript?
which is the best institute in banglaore for software testing?
write any ttest cases using check points and parameterization