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 |
how to increase the values in text box in a given text box increament by two values by clicking on button
i want to when we will write the scripts either after getting the build or after getting the SRS?
which is the bset training centre to learn automation tools?
Mention how to create a cookie using vbscript?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
How can you have different number of cells for each row of a table in HTML?
what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com
give me any information abou vb script books learn quckly
What is select case statement?
Which operator can be used to do an xor operation in vbscript?
What is the purpose of regexp object in vbscript?
how to write validation function for date in vb script