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
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
What is the extension of the vbscript file?
what do you mean .ota mobile format
How to assign a numeric value to a variable?
Which keyword is used to declare a variable in the vbscript language?
Explain the filter expression?
How will you compare two strings in vbscript?
How are arrays declared in the vbscript language?
What is the use of option explicit in vbscript?
How to declare an array in vbscript?
What is dictionary object in vbscript? Explain?
What are the advantages of vbscript?
Which date function is used in the vbscript language to find the difference between the 2 dates?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How are comments handled in the vbscript language?