how to count the word "IS" is repeated in the application
using DP
Answer Posted / kis
str="mismismis"
p=1
cnt=0
while instr(p,str,"is")>o
cnt=cnt+1
p=instr(P,STR,"is")+les("is")
wend
msgbox"is is repeted for "&cnt
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How are actions and functions different in QTP?
We stored into the objects OR and then write the scripting
how u will evaluate the tool for test automation?
How to use parameterization in qtp?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
Can we run test with out adding object in object repository? How it is possible?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
What is ‘object spy’ and what is the function of object spy in qtp?
How to find the difference between 2 dates in qtp?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
What does mean by Scope of Automation?n How we defined it?
What is different command used in command Prompt while using QTP?
How will you handle java tree in qtp?
Hi Samrat, Thank u very much, what u said it is right.
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?