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 / saff
i am asuming there is only one "father?"
string in file
open the desired notepad
and them search for the desired string byusing instr
v = instr(filename,searchstring)'the position of the string
father
b=instr(filename,"?") 'the position of the ?
n =b-n ' will give the size of the string
now use the replace function to replace the ? with whatever
uw want
it will show the position of first occurance of the stirng
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you check that your test cases covered all the requirements?
How to save your test using quicktest professional (qtp)?
write script for bitmap image?
How you know that a test case is a regression test case
what is meant by Implicit and explicit requirements?
Have you used xml check point in your project?
Limitations in QTP?
How can i initiate the objects to find uniquely in OR
what is test scheduleling?
Give the syntax to load function at run time.
How to execute a winrunner script in quicktest professional (qtp)?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What is expert view and keyword view?
Explain data driven framework?