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
What is an object repository?
When and why to use descriptive programming?
what is defenetion of kiran can u tell me plz CVS, SVN
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What is a quick test professional?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Describe the differences between functions and actions in UFT?
How many types of recording facility are available in quicktest professional?
How to get popup error message.
What is contained in the object repository?
What is test object model in quicktest professional (qtp)?
What is text/text area checkpoint?
how to disable the pop ups through QTP using a script
how to write xml output check point bu useing descriptive programing .means without useing output check point