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
Explain about .wsf files?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
Mention what is the main difference between function and sub-procedure?
How will you get the largest subscript of an array in vbscript?
Mention what are the rules to name variable in vbscript?
How can you create an object in vbscript?
Can u describe what kind of testing are for OTC derivates by banks.
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
Difference between dim,public and private variables in vb script?
How to assign a date value to a variable?
Does VB/Win make standalone .EXE files?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
How to replace junk code recorded by QTP with a mall function.
Which in-built function is used to format the number in the vbscript language?