how to find the textfile in the folder and copy file from one
folder to another folder useing parameterigation in QTP
Answer / 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 |
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting
1. How do declare public variable in vb scripts?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
What is the equivalent of VBScript?s On Error In Jscript ?
Explain the operator precedence in vb script?
Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com
How to open browser in vb script?
How to check the particular window is exist or not with out using check points
Explain about scrrun.dll?
How to return only alpha bate string from an string str = "bibhu@#$%&das&*)(SUndar"
Which data type/types are supported by vbscript language and what are their specialties?
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