How to copy from one script to another script in qtp
Answer Posted / jyoti
Set obj=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is event handling in vbscript?
How can you destroy an object in vbscript?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
How are values assigned to the variables in the vbscript language?
what types of bugs will we find out in banking projects for automation testing?
Both Static and dynamic arrays are handled by VB script. Is it true?
What are subprocedures in vbscript?
how to set one column as primary key in QTP and fetch values accordingly
Mention the rules for using option explicit statement?
How to get the length of the string by making use of the string function?
Explain vbscript in detail?
Explain the adodb.stream class?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
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?
how to increasing the numbers in a given text box please write a vb script