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 are lbound and ubound in the vbscript language?
which is the bset training centre to learn automation tools?
How to access array data?
What are the 2 ways to pass a value to the function?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me
in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....