Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

2150


What is the extension of the vbscript file?

1002


what do you mean .ota mobile format

2443


How to assign a numeric value to a variable?

1064


Which keyword is used to declare a variable in the vbscript language?

909


Explain the filter expression?

1044


How will you compare two strings in vbscript?

1011


How are arrays declared in the vbscript language?

951


What is the use of option explicit in vbscript?

959


How to declare an array in vbscript?

1225


What is dictionary object in vbscript? Explain?

1131


What are the advantages of vbscript?

1037


Which date function is used in the vbscript language to find the difference between the 2 dates?

1023


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1036


How are comments handled in the vbscript language?

958