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
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
What is the basic concept of quicktest professional (qtp)?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What are the various types of Actions in UFT?
What are the different kinds of test steps?
wht type of User defined functions or Java Releated functions do we write in VB scripting
assume i have few url link how will i dynamically call then using descriptive programming?
How to find operating system information using the qtp script?
What is a Patch in QTP?
what is stepin & stepout?
How many types of recording modes in qtp?
What is test object model in quicktest professional (qtp)?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
Define object spy ?