how to find the textfile in the folder and copy file from one
folder to another folder useing parameterigation in QTP
Answer Posted / b.hari babu
Function Replacinfile(SourceFile,Destination File)
Set Fso=CreateObject("Scripting .FilesystemObject")
If Fso.Exisit(SourceFile) Then
Fso.CopyFile(SourceFile,Destination File)
End If
End Function
Call Replacinfile(Sourc Filepath,Destination Filepath)
SourceFile=Sourc Filepath
Destination File=Destination Filepath
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Mention how you can call vbscript functions?
What methods are used to create text files and open text files in the vbscript language?
Mention how to access array data?
Explain the asc function?
What is purpose of scripting.filesystemobject class in vbscript?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
write any ttest cases using check points and parameterization
please can you help me to get a code of flames using a visual basic 6
Anyone have qtp11.0 crack?
Explain the operator precedence in vb script?
What are lbound and ubound in the vbscript language?
how to write validation function for date in vb script
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.