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
How does qtp identify gui object?
How does quicktest professional (qtp) identifies the object in the application?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
What is an expert view and keyword view?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What is the parameterization? Give one example?
How you can replace string in qtp?
What is the architecture of your project? Can any one answer for this question plz........
What is the XML file architecture ?
What is Cross browser testing? Does UFT support it?
what is test scheduleling?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
How to import a test case present in ".xls" file to TD under a Test set?
Where is the Bitmap checkpoint information stored?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.