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
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
QTP script is not working on other's machine..
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
how will you load the test cases in ddt?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Problem with XML checkpoint in QTP ?
What is the latest version of qtp?
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
tell me QTP standards ?plz
Difference between test object and run time object?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
What is keyword view in qtp?
what is actually contain test report? can anybody post the test report