How can we test existence of a particular word in scentence
using QTP tool.
Thanks in Advance!!!!!
Answer Posted / aiswaryan
By using "Instr" function u can do it.
InStr([start, ]string1, string2[, compare])
eg: MyPos = Instr(1, SearchString, SearchChar, 1)
msgbox MyPos
If Mypos returns a non-zero value, then the particular word
is present in a given string/sentence. If MyPos=0, then the
word is not present.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Hoe can we do retesting using functions please give the code for it using login page
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
what testplan contents and what test strategy contents,what is the diff b/w them
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
Explain how qtp identifies objects?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
What is keyword view?
How many ways we can parameterize data in quicktest professional?
How to customize qtp?
How to check which add-ins are associated with a test in qtp?
How to find the path of folder in which the test is saved in qtp?
How many tabs are available to view your test in a test pane and what are they?
how to disable the pop ups through QTP using a script
how to test Web application using QTP software