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 Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
How to open a file. What is the perpose of true and false mode there?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Explain the scope of the variables using dim, public, and private keywords respectively.
How can constants be declared in the vbscript language?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
How to assign a date value to a variable?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
What are the environments supported by vbscript language?
What are the differences between sub procedures and function procedures?
what is the differance between BYVAL,BYREF?
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 increasing the numbers in a given text box please write a vb script
If else for do while select in vb script?