How can i open a file in Textpad and replace a string with
another using QTP
Answer / madhavi
FileLocation="C:\Documents and Settings\\Desktop\file1.txt"
Set fso=CreateObject("Scripting.FileSystemObject")
Set fl=fso.OpenTextFile(FileLocation)
txtToReplace=replace(fl.ReadAll,"QTP","QTP9.5")
fl.Close
Set fl=fso.OpenTextFile(FileLocation,2)
fl.Write(txtToReplace)
fl.Close
| Is This Answer Correct ? | 5 Yes | 4 No |
In how many ways we can add check points to an application using QTP.
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What are the differences between QTP 9.2 and 10? please explain e indetail......
What are Add-ins availble in licensed version QTP8.2
If I change the object name in one action will it be updated in all the actions? Or not?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know
how to capture objects of remote deskop as it is capturing only window.
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...