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
How to capture a window in QTP?
How to integrate the qualitycenter with qtp
Can we record using all the modes in a single script? Explanation with example is appreciated
How to record a qtp script ?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
In what occasion we can specify global sheet and action sheet?
I want to do QTP Certification what is the pattern of Question paper.
What is the recovery scenario in qtp?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
How to use the object spy in quicktest professional (qtp) 8.0 version?
Can any suggest me what is exposure testing?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
explain keyword driven framework with banking domain?
What is file database?