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 / ratikanta
Word="father?"
Set Fso=Createobject("scripting.filesystemobject")
Set Fs=Fso.opentextfie("path")
X=Fs.Readline
mydata=split(X," ")
If mydata=word Then
str=Replace(mydata,"?","")
EndIf
msgbox str
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the disadvantages of recording test cases in qtp?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
Which scripting language used by quicktest professional?
How can I change object description or check point values in qtp?
Mention the test steps of qtp.
hi nani my doubt is how does qtp process metrix related to software process.
In qtp, how you can exit for loop?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
Explain the differences between table and db checkpoints?
What is the process of synchronizing qtp and aut?
How to use reporter.report event in qtp ?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
How to use the object spy in quicktest professional (qtp) 8.0 version?
write the vb script for call to new action in qtp?
Problem with XML checkpoint in QTP ?