In my QTP script I have a word in notepad that ends in a
question mark, for example... "father?" As part of my
script I want to delete the question mark. How do you
delete a character in notepad?
Answer Posted / satya
U can do it with SFO script[I am not sure of Syntax or
exact code,just approach I m Mentioning Below]-
Set oObj=createObject("Script.FyleSystemObject")
oFile=oObj.openTextFile("YourPath")
Do Until EndOfSream
oStr=oObj.readLine
if InStr(oStr,"?")>0 Then
RePlace(oSter,"?","")
Loop
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Discuss quicktest professional environment?
How do client side image and server side image work?
What is the extension of qtp local repository?
How did you use regular expressions in QTP and also in WR?
Generic function to search for the unique link in webtable and click on it
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
What is quicktest professional window?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How to handle Java tree in QTP?
Explain in brief about the quicktest professional automation object model?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How does you test a weblink which is changing dynamically?
For which type of project the iterative model is suitable?